Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00187/0.00187, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002262/0.002262, allocations: 212.1 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 66.04 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01394/0.3662, allocations: 9.929 MB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00908/0.3753, allocations: 3.879 MB / 0.5741 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3772, allocations: 79.56 kB / 0.5742 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.3825, allocations: 2.429 MB / 0.5765 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.3882, allocations: 1.907 MB / 0.5784 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.3904, allocations: 0.7722 MB / 0.5792 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007322/0.3977, allocations: 4.507 MB / 0.5836 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004437/0.4022, allocations: 2.787 MB / 0.5863 GB, free: 9.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.4056, allocations: 1.585 MB / 0.5878 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004296/0.4099, allocations: 2.399 MB / 0.5902 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.4111, allocations: 332 kB / 0.5905 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.4138, allocations: 0.87 MB / 0.5913 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003132/0.417, allocations: 1.967 MB / 0.5933 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003378/0.4204, allocations: 1.674 MB / 0.5949 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.4305, allocations: 6.882 MB / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4305, allocations: 4 kB / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4305, allocations: 0 / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002749/0.4308, allocations: 0 / 0.6016 GB, free: 10.07 MB / 446.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.01113/0.4419, allocations: 4.865 MB / 0.6064 GB, free: 5.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.442, allocations: 8.031 kB / 0.6064 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.4436, allocations: 0.728 MB / 0.6071 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008251/0.4519, allocations: 1.999 MB / 0.609 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/0.4595, allocations: 2.734 MB / 0.6117 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.4598, allocations: 258.2 kB / 0.6119 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.461, allocations: 323.8 kB / 0.6123 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.4821, allocations: 10.34 MB / 0.6224 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.4823, allocations: 51.62 kB / 0.6224 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005131/0.4828, allocations: 159.9 kB / 0.6226 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003047/0.4859, allocations: 1.904 MB / 0.6244 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.5032, allocations: 8.161 MB / 0.6324 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0524/0.5556, allocations: 37.81 MB / 0.6693 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.5638, allocations: 2.722 MB / 0.672 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5655, allocations: 0.9556 MB / 0.6729 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009131/0.5746, allocations: 4.34 MB / 0.6771 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.5747, allocations: 51.5 kB / 0.6772 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.879e-06/0.5747, allocations: 0 / 0.6772 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02367/0.5983, allocations: 9.608 MB / 0.6866 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.5985, allocations: 200.9 kB / 0.6868 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006414/0.6049, allocations: 4.292 MB / 0.691 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002646/0.6051, allocations: 45.7 kB / 0.691 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/0.6078, allocations: 3.314 MB / 0.6942 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/0.6087, allocations: 0.6629 MB / 0.6949 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.6105, allocations: 1.223 MB / 0.6961 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6106, allocations: 305.1 kB / 0.6964 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/0.6134, allocations: 1.644 MB / 0.698 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006283/0.6196, allocations: 5.564 MB / 0.7034 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.6299, allocations: 7.78 MB / 0.711 GB, free: 3.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/0.63, allocations: 40 kB / 0.711 GB, free: 3.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01343/0.6435, allocations: 6.895 MB / 0.7178 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.6436, allocations: 64 kB / 0.7178 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.6438, allocations: 136 kB / 0.718 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.6439, allocations: 180 kB / 0.7181 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/0.6485, allocations: 1.427 MB / 0.7195 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/0.6488, allocations: 267.2 kB / 0.7198 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.6526, allocations: 311.6 kB / 0.7201 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/0.6533, allocations: 372 kB / 0.7204 GB, free: 10.04 MB / 0.5606 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.00425/0.6576, allocations: 2.033 MB / 0.7224 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009565/0.6585, allocations: 365.5 kB / 0.7228 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.6595, allocations: 422.7 kB / 0.7232 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-05/0.6595, allocations: 16 kB / 0.7232 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.6595, allocations: 0 / 0.7232 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.6595, allocations: 16.38 kB / 0.7232 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.671, allocations: 5.556 MB / 0.7286 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.6711, allocations: 20.03 kB / 0.7286 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.6722, allocations: 283.5 kB / 0.7289 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.067e-05/0.6722, allocations: 27.98 kB / 0.7289 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.6723, allocations: 47.94 kB / 0.729 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-05/0.6723, allocations: 39.86 kB / 0.729 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/0.6723, allocations: 23.88 kB / 0.729 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.272/0.9443, allocations: 3.322 MB / 0.7323 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/0.9453, allocations: 360.8 kB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.9456, allocations: 54.14 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9468, allocations: 59.98 kB / 0.7327 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9469, allocations: 151.4 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/0.947, allocations: 70.09 kB / 0.733 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003509/0.9505, allocations: 2.516 MB / 0.7354 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9505, allocations: 0 / 0.7354 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004325/0.9548, allocations: 0.885 MB / 0.7363 GB, free: 149.6 MB / 0.5606 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.003344/0.9582, allocations: 3.985 MB / 0.7402 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004956/0.9631, allocations: 3.666 MB / 0.7438 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/0.9632, allocations: 5.781 kB / 0.7438 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008238/0.964, allocations: 0.7082 MB / 0.7444 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.9666, allocations: 489.4 kB / 0.7449 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/1.012, allocations: 41.75 MB / 0.7857 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/1.014, allocations: 2.631 MB / 0.7883 GB, free: 97.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003371/1.018, allocations: 1.812 MB / 0.79 GB, free: 96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.02, allocations: 1.866 MB / 0.7919 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.02, allocations: 4 kB / 0.7919 GB, free: 94.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09671/1.116, allocations: 61.38 MB / 0.8518 GB, free: 33.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.3, allocations: 3.281 kB / 0.8518 GB, free: 33.59 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 19.472659965977073]