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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 226.7 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.91 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 61.05 MB / 0.5162 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01289/0.1267, allocations: 11.53 MB / 0.5274 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007974/0.1347, allocations: 4.086 MB / 0.5314 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.136, allocations: 79.62 kB / 0.5315 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004722/0.1407, allocations: 2.55 MB / 0.534 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.1452, allocations: 1.922 MB / 0.5358 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1468, allocations: 0.7917 MB / 0.5366 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2155/0.3622, allocations: 4.453 MB / 0.541 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004019/0.3662, allocations: 2.796 MB / 0.5437 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.3693, allocations: 1.608 MB / 0.5453 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.3735, allocations: 2.414 MB / 0.5476 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.3747, allocations: 337.2 kB / 0.5479 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.3773, allocations: 0.9994 MB / 0.5489 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003849/0.3812, allocations: 1.995 MB / 0.5509 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005414/0.3866, allocations: 2.27 MB / 0.5531 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3977, allocations: 6.933 MB / 0.5599 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3977, allocations: 4 kB / 0.5599 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3977, allocations: 0 / 0.5599 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000251/0.3979, allocations: 4.297 kB / 0.5599 GB, free: 5.781 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.01197/0.4099, allocations: 4.926 MB / 0.5647 GB, free: 3.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4099, allocations: 9.938 kB / 0.5647 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.4111, allocations: 0.7321 MB / 0.5654 GB, free: 2.789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/0.4188, allocations: 1.994 MB / 0.5674 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007288/0.4261, allocations: 3.235 MB / 0.5705 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4263, allocations: 251.8 kB / 0.5708 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.4275, allocations: 331.9 kB / 0.5711 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/0.4476, allocations: 10.2 MB / 0.581 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.4478, allocations: 45.86 kB / 0.5811 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006108/0.4484, allocations: 165.8 kB / 0.5812 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/0.4511, allocations: 1.903 MB / 0.5831 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.4678, allocations: 8.148 MB / 0.591 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05238/0.5202, allocations: 39.24 MB / 0.6294 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007907/0.5281, allocations: 2.689 MB / 0.632 GB, free: 8.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.5298, allocations: 0.9565 MB / 0.6329 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/0.5398, allocations: 4.572 MB / 0.6374 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.5398, allocations: 62.25 kB / 0.6374 GB, free: 2.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 5.24e-06/0.5398, allocations: 4 kB / 0.6375 GB, free: 2.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02429/0.5641, allocations: 9.64 MB / 0.6469 GB, free: 8.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.5643, allocations: 196.9 kB / 0.6471 GB, free: 8.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/0.5711, allocations: 4.105 MB / 0.6511 GB, free: 4.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.5714, allocations: 49.7 kB / 0.6511 GB, free: 4.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/0.5744, allocations: 3.316 MB / 0.6544 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008889/0.5753, allocations: 0.6638 MB / 0.655 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.5775, allocations: 1.215 MB / 0.6562 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5776, allocations: 309.1 kB / 0.6565 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/0.5808, allocations: 1.636 MB / 0.6581 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006857/0.5876, allocations: 5.505 MB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.5985, allocations: 7.75 MB / 0.671 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/0.5986, allocations: 40 kB / 0.6711 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01511/0.6137, allocations: 6.89 MB / 0.6778 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.6139, allocations: 67.28 kB / 0.6779 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/0.6141, allocations: 136 kB / 0.678 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.6143, allocations: 180 kB / 0.6782 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/0.6195, allocations: 1.424 MB / 0.6795 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002606/0.6197, allocations: 267 kB / 0.6798 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/0.6246, allocations: 295.7 kB / 0.6801 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/0.6256, allocations: 376 kB / 0.6804 GB, free: 2.805 MB / 0.5137 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.004643/0.6302, allocations: 2.039 MB / 0.6824 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/0.631, allocations: 369.5 kB / 0.6828 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.6336, allocations: 1.349 MB / 0.6841 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/0.6336, allocations: 16 kB / 0.6841 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6336, allocations: 4 kB / 0.6841 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.6336, allocations: 7.922 kB / 0.6841 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.6446, allocations: 5.803 MB / 0.6898 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.6446, allocations: 24.06 kB / 0.6898 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6457, allocations: 283.5 kB / 0.6901 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.872e-05/0.6457, allocations: 24 kB / 0.6901 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.6458, allocations: 52.61 kB / 0.6902 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-05/0.6458, allocations: 33.7 kB / 0.6902 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-05/0.6459, allocations: 31.81 kB / 0.6902 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.6504, allocations: 3.298 MB / 0.6934 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/0.6521, allocations: 481.3 kB / 0.6939 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006413/0.6527, allocations: 51.61 kB / 0.694 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6541, allocations: 62.86 kB / 0.694 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.6543, allocations: 151.3 kB / 0.6942 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.6544, allocations: 68 kB / 0.6942 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00534/0.6598, allocations: 2.544 MB / 0.6967 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6598, allocations: 0 / 0.6967 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005924/0.6657, allocations: 0.8945 MB / 0.6976 GB, free: 0.707 MB / 0.5294 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.00527/0.671, allocations: 3.964 MB / 0.7014 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006997/0.678, allocations: 3.662 MB / 0.705 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.678, allocations: 5.812 kB / 0.705 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.6793, allocations: 0.7026 MB / 0.7057 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/0.6829, allocations: 469.5 kB / 0.7062 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07262/0.7555, allocations: 41.89 MB / 0.7471 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004287/0.7598, allocations: 3.189 MB / 0.7502 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004285/0.7641, allocations: 1.812 MB / 0.752 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/0.7668, allocations: 1.874 MB / 0.7538 GB, free: 496 kB / 0.5919 GB Notification: Performance of SimCode: time 1.332e-06/0.7668, allocations: 0 / 0.7538 GB, free: 496 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.33/1.097, allocations: 64.38 MB / 0.8167 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.36/22.46, allocations: 4.062 kB / 0.8167 GB, free: 195.6 MB / 0.6075 GB " [Timeout remaining time 637] (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.00059976 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.52910859900294]