Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 110.6 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 194.9 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.115, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004222/0.1193, allocations: 2.403 MB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.1207, allocations: 0.6201 MB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1209, allocations: 4 kB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1211, allocations: 39.58 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1213, allocations: 71.3 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1216, allocations: 59.91 kB / 377.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.122, allocations: 254.8 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1222, allocations: 93.33 kB / 378.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1224, allocations: 95.7 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.1226, allocations: 115.5 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.1227, allocations: 20 kB / 378.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.1227, allocations: 20 kB / 378.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1228, allocations: 43.84 kB / 378.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1229, allocations: 123.4 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1233, allocations: 246.9 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1233, allocations: 3.984 kB / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1233, allocations: 0 / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1233, allocations: 0 / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009243/0.1243, allocations: 0.5377 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1243, allocations: 8.031 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.71e-05/0.1244, allocations: 54.73 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.1245, allocations: 28.75 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2309/0.3553, allocations: 234.2 kB / 379.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3554, allocations: 12.75 kB / 379.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.3555, allocations: 22.31 kB / 379.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007401/0.3563, allocations: 222.2 kB / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.3564, allocations: 0 / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.3564, allocations: 8.844 kB / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.3564, allocations: 8.938 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.357, allocations: 147.2 kB / 380.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3589, allocations: 0.7795 MB / 380.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.3596, allocations: 198.9 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.36, allocations: 107.5 kB / 381.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.36, allocations: 5.328 kB / 381.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.36, allocations: 36.36 kB / 381.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.815e-06/0.3601, allocations: 0 / 381.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002607/0.3627, allocations: 0.8701 MB / 382.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3628, allocations: 84.75 kB / 382.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.3631, allocations: 183 kB / 382.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3631, allocations: 31.08 kB / 382.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3632, allocations: 139.5 kB / 382.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.3633, allocations: 101.5 kB / 382.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3635, allocations: 49.66 kB / 382.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3636, allocations: 332.6 kB / 383 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.364, allocations: 63.94 kB / 383.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.3643, allocations: 114.3 kB / 383.2 MB, free: 10.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.3649, allocations: 189.3 kB / 383.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3649, allocations: 0.75 kB / 383.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000658/0.3656, allocations: 247.4 kB / 383.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3656, allocations: 9.406 kB / 383.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3656, allocations: 7.938 kB / 383.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.3657, allocations: 2.438 kB / 383.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.3661, allocations: 60.05 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3661, allocations: 4.328 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3664, allocations: 14.17 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.3664, allocations: 8.266 kB / 383.7 MB, free: 10.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.3666, allocations: 143.9 kB / 383.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3667, allocations: 22.2 kB / 383.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.196e-05/0.3668, allocations: 31.8 kB / 383.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3668, allocations: 2.969 kB / 383.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3669, allocations: 1.062 kB / 383.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3669, allocations: 2.812 kB / 383.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3682, allocations: 0.5811 MB / 384.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3682, allocations: 5.547 kB / 384.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.3687, allocations: 57.14 kB / 384.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3687, allocations: 1.344 kB / 384.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.3687, allocations: 8.328 kB / 384.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3688, allocations: 2.406 kB / 384.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3688, allocations: 3.812 kB / 384.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3698, allocations: 0.4976 MB / 385.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.3699, allocations: 104.6 kB / 385.2 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.37, allocations: 11.56 kB / 385.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.3703, allocations: 7.5 kB / 385.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.3704, allocations: 25.25 kB / 385.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3704, allocations: 6.641 kB / 385.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.3706, allocations: 139.4 kB / 385.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3706, allocations: 0 / 385.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3712, allocations: 49.94 kB / 385.4 MB, free: 9.355 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.3725, allocations: 1.02 MB / 386.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.3732, allocations: 179.8 kB / 386.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3732, allocations: 5.938 kB / 386.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.3735, allocations: 96.14 kB / 386.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.3743, allocations: 38.72 kB / 386.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/0.3798, allocations: 2.645 MB / 389.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.3802, allocations: 0.753 MB / 390.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.3804, allocations: 17.89 kB / 390.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3805, allocations: 71.11 kB / 390.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3806, allocations: 0 / 390.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.4204, allocations: 4.408 MB / 394.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/8.955, allocations: 5.375 kB / 394.6 MB, free: 4.93 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches