Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001484/0.001484, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002691/0.002691, allocations: 210.6 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002849/0.002849, allocations: 69.77 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3502, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01475/0.365, allocations: 9.927 MB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009764/0.3747, allocations: 3.884 MB / 0.5705 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.3769, allocations: 75.62 kB / 0.5705 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.3824, allocations: 2.433 MB / 0.5729 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.3879, allocations: 1.895 MB / 0.5748 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.3899, allocations: 0.7761 MB / 0.5755 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00697/0.3969, allocations: 4.511 MB / 0.5799 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.4013, allocations: 2.767 MB / 0.5826 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.4045, allocations: 1.581 MB / 0.5842 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.4089, allocations: 2.266 MB / 0.5864 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.4099, allocations: 332 kB / 0.5867 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.4124, allocations: 0.8583 MB / 0.5875 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.4149, allocations: 1.975 MB / 0.5895 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002713/0.4176, allocations: 1.674 MB / 0.5911 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008553/0.4261, allocations: 6.878 MB / 0.5978 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4261, allocations: 4 kB / 0.5978 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4261, allocations: 0 / 0.5978 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001834/0.4263, allocations: 0 / 0.5978 GB, free: 13.51 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.009775/0.4361, allocations: 4.861 MB / 0.6026 GB, free: 8.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.4362, allocations: 12.03 kB / 0.6026 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/0.4373, allocations: 0.7319 MB / 0.6033 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007477/0.4448, allocations: 1.991 MB / 0.6052 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.4512, allocations: 2.742 MB / 0.6079 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.4515, allocations: 250.2 kB / 0.6082 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.4527, allocations: 327.8 kB / 0.6085 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.4741, allocations: 10.34 MB / 0.6186 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.4744, allocations: 47.58 kB / 0.6186 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.4756, allocations: 159.9 kB / 0.6188 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003378/0.479, allocations: 1.9 MB / 0.6206 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.4971, allocations: 8.161 MB / 0.6286 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05485/0.552, allocations: 37.81 MB / 0.6655 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/0.5602, allocations: 2.726 MB / 0.6682 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.562, allocations: 0.9673 MB / 0.6691 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.5717, allocations: 4.336 MB / 0.6734 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.5718, allocations: 47.5 kB / 0.6734 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.398e-06/0.5718, allocations: 0 / 0.6734 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02553/0.5973, allocations: 9.605 MB / 0.6828 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.5974, allocations: 196.9 kB / 0.683 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00837/0.6058, allocations: 4.296 MB / 0.6872 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/0.6061, allocations: 45.7 kB / 0.6872 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003346/0.6094, allocations: 3.31 MB / 0.6904 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.6105, allocations: 0.663 MB / 0.6911 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002686/0.6132, allocations: 1.219 MB / 0.6923 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6133, allocations: 301.1 kB / 0.6926 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/0.6165, allocations: 1.651 MB / 0.6942 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/0.6238, allocations: 5.568 MB / 0.6996 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.635, allocations: 7.769 MB / 0.7072 GB, free: 7.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/0.6352, allocations: 47.94 kB / 0.7073 GB, free: 7.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01347/0.6486, allocations: 6.888 MB / 0.714 GB, free: 216 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.6488, allocations: 65 kB / 0.714 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000276/0.6491, allocations: 140 kB / 0.7142 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.6493, allocations: 184 kB / 0.7143 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.6538, allocations: 1.431 MB / 0.7157 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002711/0.6541, allocations: 267 kB / 0.716 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.6577, allocations: 303.7 kB / 0.7163 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006813/0.6584, allocations: 383.9 kB / 0.7167 GB, free: 13.47 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.003516/0.6619, allocations: 2.029 MB / 0.7186 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007962/0.6627, allocations: 369.5 kB / 0.719 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000981/0.6637, allocations: 410.7 kB / 0.7194 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.6637, allocations: 20 kB / 0.7194 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.6637, allocations: 3.938 kB / 0.7194 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.6638, allocations: 11.91 kB / 0.7194 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.6752, allocations: 5.56 MB / 0.7248 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-05/0.6752, allocations: 16 kB / 0.7249 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6763, allocations: 292.2 kB / 0.7251 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.924e-05/0.6763, allocations: 24 kB / 0.7252 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6764, allocations: 52 kB / 0.7252 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-05/0.6764, allocations: 35.86 kB / 0.7252 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/0.6765, allocations: 23.94 kB / 0.7253 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/0.6812, allocations: 3.331 MB / 0.7285 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.6821, allocations: 353.4 kB / 0.7289 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/0.6827, allocations: 51.98 kB / 0.7289 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6841, allocations: 63.95 kB / 0.729 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.6843, allocations: 155.3 kB / 0.7291 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6844, allocations: 64 kB / 0.7292 GB, free: 88 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2674/0.9518, allocations: 2.513 MB / 0.7316 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9518, allocations: 0 / 0.7316 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005134/0.9569, allocations: 0.8824 MB / 0.7325 GB, free: 154 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.004571/0.9615, allocations: 3.997 MB / 0.7364 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005636/0.9671, allocations: 3.655 MB / 0.74 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.377e-05/0.9671, allocations: 4.719 kB / 0.74 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.9682, allocations: 0.7175 MB / 0.7407 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.9718, allocations: 476.4 kB / 0.7411 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04837/1.02, allocations: 41.75 MB / 0.7819 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.023, allocations: 2.633 MB / 0.7845 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003472/1.027, allocations: 1.816 MB / 0.7862 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.028, allocations: 1.866 MB / 0.7881 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/1.028, allocations: 4 kB / 0.7881 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.129, allocations: 58.79 MB / 0.8455 GB, free: 42.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.65, allocations: 7.375 kB / 0.8455 GB, free: 42.96 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.855849160812795]