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.001895/0.001895, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002045/0.002045, allocations: 215.6 kB / 22.99 MB, free: 4.602 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.47/1.47, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2267/0.2267, allocations: 44.26 MB / 330.3 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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.00262/0.00262, allocations: 75.89 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1396, allocations: 61.04 MB / 0.5162 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01312/0.1528, allocations: 10.01 MB / 0.5259 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009077/0.1618, allocations: 3.868 MB / 0.5297 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.1639, allocations: 79.56 kB / 0.5298 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005181/0.169, allocations: 2.445 MB / 0.5322 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.1749, allocations: 1.934 MB / 0.5341 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.177, allocations: 0.7917 MB / 0.5348 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2872/0.4642, allocations: 4.445 MB / 0.5392 GB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004812/0.4691, allocations: 2.781 MB / 0.5419 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.4722, allocations: 1.61 MB / 0.5435 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004298/0.4764, allocations: 2.279 MB / 0.5457 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.4776, allocations: 333.7 kB / 0.546 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.4801, allocations: 0.8775 MB / 0.5469 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.4826, allocations: 1.991 MB / 0.5488 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.4856, allocations: 1.709 MB / 0.5505 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.4973, allocations: 6.963 MB / 0.5573 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4973, allocations: 5.094 kB / 0.5573 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4973, allocations: 1.406 kB / 0.5573 GB, free: 7.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002712/0.4975, allocations: 0 / 0.5573 GB, free: 7.762 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.01397/0.5115, allocations: 4.923 MB / 0.5621 GB, free: 5.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.5116, allocations: 10.44 kB / 0.5621 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001939/0.5135, allocations: 0.7358 MB / 0.5628 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007671/0.5212, allocations: 1.999 MB / 0.5648 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.5291, allocations: 3.238 MB / 0.5679 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.5293, allocations: 252.7 kB / 0.5682 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.5305, allocations: 330.9 kB / 0.5685 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.5511, allocations: 10.31 MB / 0.5786 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.5513, allocations: 51.34 kB / 0.5786 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005173/0.5518, allocations: 161.6 kB / 0.5788 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003017/0.5548, allocations: 1.906 MB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.5724, allocations: 8.13 MB / 0.5886 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05318/0.6256, allocations: 37.87 MB / 0.6255 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008081/0.6337, allocations: 2.697 MB / 0.6282 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.6353, allocations: 0.9556 MB / 0.6291 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009756/0.6451, allocations: 4.339 MB / 0.6333 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.6451, allocations: 47.56 kB / 0.6334 GB, free: 8.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 5.881e-06/0.6451, allocations: 7.469 kB / 0.6334 GB, free: 8.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02452/0.6696, allocations: 9.645 MB / 0.6428 GB, free: 14.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.6698, allocations: 200.1 kB / 0.643 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006785/0.6766, allocations: 4.325 MB / 0.6472 GB, free: 9.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.6768, allocations: 49.7 kB / 0.6473 GB, free: 9.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/0.6794, allocations: 3.32 MB / 0.6505 GB, free: 6.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007668/0.6801, allocations: 0.6672 MB / 0.6512 GB, free: 5.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.6818, allocations: 1.219 MB / 0.6524 GB, free: 4.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6819, allocations: 304.9 kB / 0.6527 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.6846, allocations: 1.636 MB / 0.6542 GB, free: 2.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/0.6906, allocations: 5.551 MB / 0.6597 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009913/0.7005, allocations: 7.76 MB / 0.6672 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.7007, allocations: 40 kB / 0.6673 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01307/0.7137, allocations: 6.883 MB / 0.674 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.7138, allocations: 69.16 kB / 0.6741 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/0.714, allocations: 136 kB / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.7142, allocations: 180 kB / 0.6744 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004304/0.7185, allocations: 1.419 MB / 0.6758 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002264/0.7187, allocations: 270.9 kB / 0.676 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.7229, allocations: 299.7 kB / 0.6763 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006551/0.7236, allocations: 376 kB / 0.6767 GB, free: 8.035 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.00377/0.7274, allocations: 2.04 MB / 0.6787 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007583/0.7281, allocations: 369.5 kB / 0.679 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.7305, allocations: 1.349 MB / 0.6803 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.7306, allocations: 19.52 kB / 0.6803 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.7306, allocations: 4 kB / 0.6803 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.7306, allocations: 11.91 kB / 0.6804 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.7418, allocations: 5.542 MB / 0.6858 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-05/0.7418, allocations: 20 kB / 0.6858 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.7428, allocations: 287.6 kB / 0.6861 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.821e-05/0.7429, allocations: 24 kB / 0.6861 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.826e-05/0.743, allocations: 51.98 kB / 0.6861 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-05/0.743, allocations: 36.42 kB / 0.6862 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/0.743, allocations: 23.88 kB / 0.6862 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.7477, allocations: 3.296 MB / 0.6894 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/0.7493, allocations: 481.3 kB / 0.6899 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006362/0.75, allocations: 59.61 kB / 0.6899 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.7512, allocations: 55.97 kB / 0.69 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.7514, allocations: 155.3 kB / 0.6901 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.7515, allocations: 64 kB / 0.6902 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004745/0.7563, allocations: 2.54 MB / 0.6927 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.7563, allocations: 0 / 0.6927 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005855/0.7621, allocations: 0.9014 MB / 0.6936 GB, free: 6.207 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.005606/0.7677, allocations: 3.968 MB / 0.6974 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006849/0.7746, allocations: 3.659 MB / 0.701 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/0.7746, allocations: 4 kB / 0.701 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.7756, allocations: 0.6998 MB / 0.7017 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/0.7794, allocations: 481.9 kB / 0.7021 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08204/0.8614, allocations: 41.88 MB / 0.7431 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00556/0.8669, allocations: 2.651 MB / 0.7456 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004764/0.8717, allocations: 1.816 MB / 0.7474 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003199/0.8749, allocations: 1.87 MB / 0.7492 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.8749, allocations: 0 / 0.7492 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3792/1.254, allocations: 59.14 MB / 0.807 GB, free: 207.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.56, allocations: 13.08 kB / 0.807 GB, free: 207.4 MB / 0.6075 GB " [Timeout remaining time 643] (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: 19.797639508266002]