Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008276, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008538/0.0008538, allocations: 164.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8874/0.8874, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.949e-05, allocations: 9.031 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2087/0.2087, allocations: 9.939 MB / 452.1 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00897/0.2177, allocations: 3.884 MB / 456 MB, free: 36.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.2206, allocations: 78.06 kB / 456.1 MB, free: 36.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.2239, allocations: 2.552 MB / 458.6 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.2278, allocations: 1.952 MB / 460.6 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2292, allocations: 0.846 MB / 461.4 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005331/0.2345, allocations: 5.206 MB / 466.6 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003736/0.2383, allocations: 3.265 MB / 469.9 MB, free: 30.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.2421, allocations: 2.436 MB / 472.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003147/0.2452, allocations: 2.495 MB / 474.8 MB, free: 29.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009031/0.2461, allocations: 340.2 kB / 475.1 MB, free: 29.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.2478, allocations: 0.9152 MB / 476.1 MB, free: 28.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.249, allocations: 2.057 MB / 478.1 MB, free: 28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.2505, allocations: 1.324 MB / 479.4 MB, free: 27.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007831/0.2583, allocations: 6.883 MB / 486.3 MB, free: 24.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2583, allocations: 4.656 kB / 486.3 MB, free: 24.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2583, allocations: 0 / 486.3 MB, free: 24.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003042/0.2586, allocations: 1.188 kB / 486.3 MB, free: 24.93 MB / 410.7 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.0142/0.2728, allocations: 4.93 MB / 491.3 MB, free: 22.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2729, allocations: 10.73 kB / 491.3 MB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001823/0.2747, allocations: 0.7303 MB / 492 MB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/0.2807, allocations: 2.145 MB / 494.2 MB, free: 21.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.2856, allocations: 2.407 MB / 496.6 MB, free: 20.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.2858, allocations: 247.8 kB / 496.8 MB, free: 20.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006705/0.2865, allocations: 326.5 kB / 497.1 MB, free: 20.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.3011, allocations: 10.35 MB / 0.4956 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.3013, allocations: 51.34 kB / 0.4956 GB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.3017, allocations: 160.2 kB / 0.4958 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.3036, allocations: 1.913 MB / 0.4976 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.3158, allocations: 8.168 MB / 0.5056 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.354, allocations: 38.05 MB / 0.5428 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.3592, allocations: 2.85 MB / 0.5456 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.3603, allocations: 0.9634 MB / 0.5465 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006438/0.3667, allocations: 4.471 MB / 0.5509 GB, free: 4.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.3668, allocations: 62.61 kB / 0.5509 GB, free: 4.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 4.639e-06/0.3668, allocations: 0 / 0.5509 GB, free: 4.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01651/0.3833, allocations: 10.03 MB / 0.5607 GB, free: 10.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.3834, allocations: 192.9 kB / 0.5609 GB, free: 10.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/0.3888, allocations: 4.608 MB / 0.5654 GB, free: 5.688 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.389, allocations: 49.7 kB / 0.5655 GB, free: 5.633 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.3909, allocations: 3.275 MB / 0.5687 GB, free: 2.324 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.3914, allocations: 0.6552 MB / 0.5693 GB, free: 1.664 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.3925, allocations: 1.195 MB / 0.5705 GB, free: 468 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.3926, allocations: 313 kB / 0.5708 GB, free: 152 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.3945, allocations: 1.659 MB / 0.5724 GB, free: 14.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.3983, allocations: 5.592 MB / 0.5778 GB, free: 6.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006454/0.4048, allocations: 7.793 MB / 0.5855 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.4049, allocations: 44 kB / 0.5855 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01047/0.4153, allocations: 6.93 MB / 0.5923 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/0.4154, allocations: 64.97 kB / 0.5923 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.4155, allocations: 136.2 kB / 0.5925 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.4157, allocations: 180 kB / 0.5926 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003655/0.4193, allocations: 1.446 MB / 0.594 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001882/0.4195, allocations: 267 kB / 0.5943 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.4233, allocations: 407.5 kB / 0.5947 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/0.424, allocations: 372 kB / 0.595 GB, free: 3.406 MB / 0.4948 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.00362/0.4277, allocations: 2.041 MB / 0.597 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000724/0.4284, allocations: 369.5 kB / 0.5974 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.429, allocations: 418.7 kB / 0.5978 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.4291, allocations: 23.94 kB / 0.5978 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4291, allocations: 0 / 0.5978 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.4291, allocations: 7.969 kB / 0.5978 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00819/0.4373, allocations: 5.626 MB / 0.6033 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.4373, allocations: 16 kB / 0.6033 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/0.438, allocations: 287.5 kB / 0.6036 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.438, allocations: 24.72 kB / 0.6036 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.438, allocations: 55.92 kB / 0.6037 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.4381, allocations: 35.92 kB / 0.6037 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/0.4381, allocations: 30 kB / 0.6037 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/0.4416, allocations: 3.286 MB / 0.6069 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.4426, allocations: 409.3 kB / 0.6073 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/0.443, allocations: 47.98 kB / 0.6074 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.4439, allocations: 131.8 kB / 0.6075 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.444, allocations: 147.4 kB / 0.6076 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.4441, allocations: 71.92 kB / 0.6077 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003972/0.4481, allocations: 2.758 MB / 0.6104 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4481, allocations: 0 / 0.6104 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005758/0.4538, allocations: 0.9881 MB / 0.6114 GB, free: 2.109 MB / 0.5105 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.003532/0.4574, allocations: 3.967 MB / 0.6152 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004957/0.4623, allocations: 3.687 MB / 0.6188 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.4623, allocations: 4.812 kB / 0.6189 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/0.463, allocations: 0.7143 MB / 0.6196 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.4649, allocations: 481.2 kB / 0.62 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.224/0.6889, allocations: 42.5 MB / 0.6615 GB, free: 153 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.6911, allocations: 2.631 MB / 0.6641 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002613/0.6937, allocations: 1.835 MB / 0.6659 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.6951, allocations: 1.877 MB / 0.6677 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.655e-06/0.6951, allocations: 0 / 0.6677 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06571/0.7608, allocations: 60.46 MB / 0.7268 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/11.01, allocations: 4 kB / 0.7268 GB, free: 118.4 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.131317920982838]