Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001652/0.001652, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002071/0.002071, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.218/0.3508, allocations: 10.24 MB / 436.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007958/0.3588, allocations: 3.817 MB / 440.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.3611, allocations: 70.41 kB / 440.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004264/0.3654, allocations: 1.971 MB / 442.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.3709, allocations: 1.667 MB / 444.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.3731, allocations: 0.6115 MB / 444.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005931/0.3791, allocations: 3.361 MB / 448 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/0.3829, allocations: 2.2 MB / 450.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.3863, allocations: 1.249 MB / 451.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.3905, allocations: 1.81 MB / 453.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.392, allocations: 257.2 kB / 453.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.3959, allocations: 1.05 MB / 454.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003263/0.3991, allocations: 1.595 MB / 456.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.4034, allocations: 1.815 MB / 458 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.4146, allocations: 5.806 MB / 463.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.4147, allocations: 5.141 kB / 463.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4147, allocations: 3.938 kB / 463.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003097/0.415, allocations: 4 kB / 463.8 MB, free: 8.039 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01462/0.4296, allocations: 4.113 MB / 468 MB, free: 5.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4296, allocations: 9.219 kB / 468 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001804/0.4314, allocations: 0.6041 MB / 468.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/0.4389, allocations: 1.799 MB / 470.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/0.4441, allocations: 2.177 MB / 472.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4443, allocations: 188.5 kB / 472.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009732/0.4453, allocations: 251.2 kB / 473 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.4626, allocations: 8.443 MB / 481.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.4628, allocations: 39.7 kB / 481.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006238/0.4634, allocations: 125.3 kB / 481.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003415/0.4668, allocations: 1.707 MB / 483.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4832, allocations: 7.107 MB / 490.4 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/0.5339, allocations: 34.08 MB / 0.5122 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008505/0.5424, allocations: 3.179 MB / 0.5153 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.5447, allocations: 1.362 MB / 0.5166 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008324/0.553, allocations: 4.448 MB / 0.521 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.5531, allocations: 56.02 kB / 0.521 GB, free: 3.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.36e-06/0.5531, allocations: 0 / 0.521 GB, free: 3.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03363/0.5867, allocations: 11.74 MB / 0.5325 GB, free: 7.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5868, allocations: 145.1 kB / 0.5326 GB, free: 7.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00755/0.5944, allocations: 3.73 MB / 0.5363 GB, free: 3.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000316/0.5947, allocations: 45.7 kB / 0.5363 GB, free: 3.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002942/0.5976, allocations: 2.858 MB / 0.5391 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000896/0.5985, allocations: 0.539 MB / 0.5396 GB, free: 148 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002186/0.6007, allocations: 1.084 MB / 0.5407 GB, free: 15.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6009, allocations: 301.1 kB / 0.541 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.6042, allocations: 1.701 MB / 0.5426 GB, free: 13.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007699/0.6119, allocations: 5.119 MB / 0.5476 GB, free: 6.191 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.6227, allocations: 7.419 MB / 0.5549 GB, free: 13.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.6228, allocations: 36 kB / 0.5549 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01491/0.6377, allocations: 6.723 MB / 0.5615 GB, free: 6.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.6378, allocations: 59.98 kB / 0.5615 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/0.638, allocations: 120 kB / 0.5616 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.6388, allocations: 320.6 kB / 0.5619 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.6433, allocations: 1.24 MB / 0.5632 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.6465, allocations: 2.493 MB / 0.5656 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/0.6508, allocations: 287.6 kB / 0.5659 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.6518, allocations: 332 kB / 0.5662 GB, free: 1.344 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004024/0.6559, allocations: 1.787 MB / 0.5679 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008375/0.6567, allocations: 329.7 kB / 0.5682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005844/0.6625, allocations: 2.363 MB / 0.5705 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/0.6626, allocations: 15.98 kB / 0.5706 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6626, allocations: 5.344 kB / 0.5706 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/0.6626, allocations: 11.97 kB / 0.5706 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6784, allocations: 5.906 MB / 0.5763 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.6784, allocations: 0 / 0.5763 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.6794, allocations: 167.8 kB / 0.5765 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/0.682, allocations: 0.7263 MB / 0.5772 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.6823, allocations: 20.12 kB / 0.5772 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007331/0.6896, allocations: 4.822 MB / 0.5819 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6896, allocations: 0 / 0.5819 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008895/0.6985, allocations: 4.347 MB / 0.5862 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6998, allocations: 378.8 kB / 0.5866 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/0.7008, allocations: 19.94 kB / 0.5866 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.7028, allocations: 75.89 kB / 0.5866 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004894/0.7033, allocations: 68.62 kB / 0.5867 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.7034, allocations: 32 kB / 0.5867 GB, free: 12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006018/0.7095, allocations: 2.319 MB / 0.589 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7095, allocations: 0 / 0.589 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006562/0.716, allocations: 0.8084 MB / 0.5898 GB, free: 8.887 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009634/0.7257, allocations: 4.993 MB / 0.5947 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009507/0.7352, allocations: 3.881 MB / 0.5985 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.7352, allocations: 0 / 0.5985 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.7373, allocations: 1.038 MB / 0.5995 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/0.741, allocations: 382.9 kB / 0.5998 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2769/1.018, allocations: 37.71 MB / 0.6367 GB, free: 146.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/1.021, allocations: 2.781 MB / 0.6394 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003336/1.025, allocations: 1.658 MB / 0.641 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.027, allocations: 1.515 MB / 0.6425 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.213e-06/1.027, allocations: 0 / 0.6425 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/1.123, allocations: 57.93 MB / 0.699 GB, free: 95.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.81/24.93, allocations: 6.719 kB / 0.699 GB, free: 95.29 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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: 27.693584325999836]