Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",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.001311/0.001311, allocations: 108 kB / 16.41 MB, free: 6.484 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.001263/0.001263, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.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.002187/0.002187, allocations: 71.88 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1072, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01337/0.1206, allocations: 11.45 MB / 0.4986 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008848/0.1295, allocations: 4.051 MB / 0.5025 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.1315, allocations: 67.75 kB / 0.5026 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005407/0.137, allocations: 2.492 MB / 0.505 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.1423, allocations: 1.875 MB / 0.5069 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.1445, allocations: 0.7878 MB / 0.5076 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006837/0.1513, allocations: 4.453 MB / 0.512 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004976/0.1563, allocations: 3.346 MB / 0.5153 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.1591, allocations: 1.577 MB / 0.5168 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.1627, allocations: 2.235 MB / 0.519 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.1638, allocations: 336 kB / 0.5193 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.1662, allocations: 0.9753 MB / 0.5203 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.1689, allocations: 1.944 MB / 0.5222 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003697/0.1726, allocations: 2.264 MB / 0.5244 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2325/0.4051, allocations: 6.928 MB / 0.5311 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.4052, allocations: 0 / 0.5311 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4052, allocations: 1.703 kB / 0.5311 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002923/0.4055, allocations: 0 / 0.5311 GB, free: 15.83 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01167/0.4172, allocations: 5.005 MB / 0.536 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4172, allocations: 13.92 kB / 0.536 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001456/0.4187, allocations: 0.7356 MB / 0.5367 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008206/0.4269, allocations: 1.993 MB / 0.5387 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/0.4339, allocations: 3.3 MB / 0.5419 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4342, allocations: 252.1 kB / 0.5422 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.4355, allocations: 328.8 kB / 0.5425 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.4582, allocations: 10.21 MB / 0.5524 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/0.4586, allocations: 48.52 kB / 0.5525 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007017/0.4593, allocations: 161.2 kB / 0.5526 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003197/0.4625, allocations: 1.91 MB / 0.5545 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.4796, allocations: 8.145 MB / 0.5625 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/0.5265, allocations: 39.35 MB / 0.6009 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008436/0.535, allocations: 3.278 MB / 0.6041 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.5369, allocations: 1.051 MB / 0.6051 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009293/0.5462, allocations: 5.92 MB / 0.6109 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5463, allocations: 46.19 kB / 0.6109 GB, free: 7.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.879e-06/0.5463, allocations: 4 kB / 0.6109 GB, free: 7.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02596/0.5723, allocations: 9.796 MB / 0.6205 GB, free: 13.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.5724, allocations: 196.9 kB / 0.6207 GB, free: 13.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007292/0.5798, allocations: 4.1 MB / 0.6247 GB, free: 9.605 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.58, allocations: 53.7 kB / 0.6247 GB, free: 9.547 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002615/0.5827, allocations: 3.316 MB / 0.628 GB, free: 6.262 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008286/0.5835, allocations: 0.6655 MB / 0.6286 GB, free: 5.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.5851, allocations: 1.211 MB / 0.6298 GB, free: 4.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5852, allocations: 304.9 kB / 0.6301 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.5879, allocations: 1.643 MB / 0.6317 GB, free: 2.441 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005983/0.5939, allocations: 5.506 MB / 0.6371 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009666/0.6036, allocations: 7.758 MB / 0.6447 GB, free: 1.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001081/0.6038, allocations: 40 kB / 0.6447 GB, free: 1.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01386/0.6176, allocations: 6.89 MB / 0.6514 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.6178, allocations: 64 kB / 0.6515 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/0.618, allocations: 136 kB / 0.6516 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.6182, allocations: 183.9 kB / 0.6518 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/0.6226, allocations: 1.419 MB / 0.6532 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002424/0.6229, allocations: 267 kB / 0.6534 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.627, allocations: 309.1 kB / 0.6537 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007788/0.6278, allocations: 372 kB / 0.6541 GB, free: 8.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (767): * Single equations (assignments): 764 * Array equations: 3 * 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.003556/0.6313, allocations: 2.036 MB / 0.6561 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/0.632, allocations: 369.5 kB / 0.6564 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.6345, allocations: 1.348 MB / 0.6577 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.6346, allocations: 19.91 kB / 0.6578 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.6346, allocations: 4 kB / 0.6578 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.6346, allocations: 11.91 kB / 0.6578 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.6464, allocations: 5.829 MB / 0.6635 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/0.6465, allocations: 19.98 kB / 0.6635 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.6476, allocations: 276.5 kB / 0.6638 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/0.6476, allocations: 32 kB / 0.6638 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6478, allocations: 48 kB / 0.6638 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-05/0.6478, allocations: 37.94 kB / 0.6639 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.107e-05/0.6479, allocations: 27.88 kB / 0.6639 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.6525, allocations: 3.302 MB / 0.6671 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.654, allocations: 0.5376 MB / 0.6676 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/0.6547, allocations: 47.98 kB / 0.6677 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.6562, allocations: 66.77 kB / 0.6678 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.6564, allocations: 143.4 kB / 0.6679 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6565, allocations: 72.55 kB / 0.668 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004351/0.6609, allocations: 2.536 MB / 0.6704 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6609, allocations: 0 / 0.6704 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004928/0.6658, allocations: 0.9061 MB / 0.6713 GB, free: 6.199 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.005073/0.6709, allocations: 3.968 MB / 0.6752 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006837/0.6778, allocations: 3.811 MB / 0.6789 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/0.6779, allocations: 0 / 0.6789 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.6791, allocations: 0.7502 MB / 0.6797 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.6823, allocations: 482.5 kB / 0.6801 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06338/0.7457, allocations: 41.87 MB / 0.721 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/0.7498, allocations: 3.192 MB / 0.7241 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004117/0.7539, allocations: 1.812 MB / 0.7259 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/0.7567, allocations: 1.874 MB / 0.7277 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.7567, allocations: 0 / 0.7277 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/1.067, allocations: 59.1 MB / 0.7854 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.46/18.53, allocations: 11.92 kB / 0.7854 GB, free: 199.7 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches