Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.001507/0.001507, allocations: 114.2 kB / 17.73 MB, free: 5.312 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.001828/0.001829, allocations: 187 kB / 18.66 MB, free: 4.387 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.446/1.446, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001198/0.001198, allocations: 51.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09461, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.216/0.3107, allocations: 10.74 MB / 385.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008274/0.319, allocations: 3.923 MB / 389.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.3212, allocations: 62.56 kB / 389.4 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005443/0.3267, allocations: 2.588 MB / 392 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.3318, allocations: 1.797 MB / 393.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3336, allocations: 0.6918 MB / 394.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005653/0.3392, allocations: 3.691 MB / 398.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005131/0.3444, allocations: 3.569 MB / 401.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.3476, allocations: 1.482 MB / 403.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.3506, allocations: 1.957 MB / 405.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.352, allocations: 314.5 kB / 405.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.3554, allocations: 1.155 MB / 406.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.3582, allocations: 1.841 MB / 408.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004074/0.3623, allocations: 2.146 MB / 410.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3723, allocations: 6.739 MB / 417.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3724, allocations: 0 / 417.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3724, allocations: 4 kB / 417.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002438/0.3726, allocations: 0 / 417.4 MB, free: 5.012 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01079/0.3834, allocations: 4.713 MB / 422.1 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3835, allocations: 8.031 kB / 422.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001546/0.385, allocations: 0.7275 MB / 422.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006473/0.3915, allocations: 1.917 MB / 424.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.3966, allocations: 2.478 MB / 427.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.3968, allocations: 254.2 kB / 427.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.398, allocations: 387.7 kB / 427.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4183, allocations: 10.07 MB / 437.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.4185, allocations: 39.62 kB / 437.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.4195, allocations: 159.9 kB / 438.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.4221, allocations: 1.857 MB / 439.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4398, allocations: 8.328 MB / 448.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05057/0.4904, allocations: 39.29 MB / 487.6 MB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5009, allocations: 4 MB / 491.6 MB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.5032, allocations: 1.423 MB / 493 MB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5148, allocations: 7.605 MB / 0.4889 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.5149, allocations: 47.56 kB / 0.4889 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.007e-06/0.5149, allocations: 0 / 0.4889 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03311/0.5481, allocations: 12.65 MB / 0.5013 GB, free: 2.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00135/0.5494, allocations: 1.699 MB / 0.5029 GB, free: 376 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006745/0.5562, allocations: 3.842 MB / 0.5067 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.5566, allocations: 53.61 kB / 0.5067 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.5589, allocations: 3.25 MB / 0.5099 GB, free: 9.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.5599, allocations: 0.6708 MB / 0.5105 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/0.5622, allocations: 1.266 MB / 0.5118 GB, free: 7.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.5624, allocations: 305.2 kB / 0.5121 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/0.5656, allocations: 2.007 MB / 0.514 GB, free: 4.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.5714, allocations: 5.934 MB / 0.5198 GB, free: 13.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009323/0.5808, allocations: 8.576 MB / 0.5282 GB, free: 2.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.5809, allocations: 40 kB / 0.5282 GB, free: 2.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01721/0.5981, allocations: 8.793 MB / 0.5368 GB, free: 9.637 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.5983, allocations: 64 kB / 0.5369 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006359/0.6047, allocations: 2.794 MB / 0.5396 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.6099, allocations: 1.526 MB / 0.5411 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.6143, allocations: 1.361 MB / 0.5424 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2154/0.8297, allocations: 5.799 MB / 0.5481 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/0.8344, allocations: 398.7 kB / 0.5485 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008829/0.8353, allocations: 389.6 kB / 0.5489 GB, free: 132.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003175/0.8385, allocations: 2.008 MB / 0.5508 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/0.839, allocations: 350.6 kB / 0.5511 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006882/0.8459, allocations: 3.127 MB / 0.5542 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005663/0.8516, allocations: 2.697 MB / 0.5568 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.8517, allocations: 3.531 kB / 0.5568 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.8517, allocations: 9.016 kB / 0.5568 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.8669, allocations: 8.556 MB / 0.5652 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.867, allocations: 0.8438 kB / 0.5652 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.8679, allocations: 190 kB / 0.5654 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004149/0.872, allocations: 1.428 MB / 0.5668 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.8722, allocations: 35.48 kB / 0.5668 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005395/0.8776, allocations: 6.011 MB / 0.5727 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007248/0.8784, allocations: 1.551 MB / 0.5742 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/0.8861, allocations: 5.325 MB / 0.5794 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.8873, allocations: 395.1 kB / 0.5798 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/0.8877, allocations: 26.09 kB / 0.5798 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.8889, allocations: 129.6 kB / 0.5799 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.8892, allocations: 89.25 kB / 0.58 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.8893, allocations: 40.36 kB / 0.58 GB, free: 121.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003291/0.8926, allocations: 2.363 MB / 0.5824 GB, free: 120.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.8926, allocations: 0 / 0.5824 GB, free: 120.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00449/0.8971, allocations: 1.006 MB / 0.5833 GB, free: 120.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006728/0.9039, allocations: 5.778 MB / 0.589 GB, free: 116.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007677/0.9116, allocations: 5.448 MB / 0.5943 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.9116, allocations: 192 / 0.5943 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.9148, allocations: 2.042 MB / 0.5963 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.9171, allocations: 401.7 kB / 0.5967 GB, free: 109.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05247/0.9695, allocations: 45.47 MB / 0.6411 GB, free: 57.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.9723, allocations: 3.119 MB / 0.6441 GB, free: 54.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003272/0.9756, allocations: 1.8 MB / 0.6459 GB, free: 52.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.9772, allocations: 1.768 MB / 0.6476 GB, free: 51.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.9773, allocations: 0 / 0.6476 GB, free: 51.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.078, allocations: 66.18 MB / 0.7122 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/22.82, allocations: 7.938 kB / 0.7123 GB, free: 0.9531 MB / 494.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches