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.001569/0.001569, 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.001864/0.001864, allocations: 204.5 kB / 23.73 MB, free: 4.379 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001585/0.001585, allocations: 51.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2531, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0115/0.2646, allocations: 8.988 MB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.2721, allocations: 3.602 MB / 443.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008972/0.2729, allocations: 67.69 kB / 443.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.2767, allocations: 1.904 MB / 445.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.2804, allocations: 1.68 MB / 447.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.2818, allocations: 0.616 MB / 447.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.2859, allocations: 3.354 MB / 451.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.2883, allocations: 2.122 MB / 453.4 MB, free: 168 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.2899, allocations: 1.257 MB / 454.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.2922, allocations: 1.807 MB / 456.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.2926, allocations: 252 kB / 456.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2943, allocations: 0.94 MB / 457.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.2958, allocations: 1.601 MB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.2973, allocations: 1.328 MB / 460.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006163/0.3035, allocations: 5.832 MB / 466.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3035, allocations: 0 / 466.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3035, allocations: 0 / 466.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.498e-05/0.3036, allocations: 3.984 kB / 466.4 MB, free: 3.102 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.007032/0.3106, allocations: 4.046 MB / 470.5 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3106, allocations: 8.031 kB / 470.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007324/0.3114, allocations: 0.6082 MB / 471.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006403/0.3178, allocations: 1.8 MB / 472.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.3223, allocations: 2.11 MB / 475 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.3225, allocations: 192.8 kB / 475.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004997/0.323, allocations: 255.8 kB / 475.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.3359, allocations: 8.468 MB / 483.9 MB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.384e-05/0.336, allocations: 43.7 kB / 484 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.3364, allocations: 123.9 kB / 484.1 MB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002913/0.3393, allocations: 1.703 MB / 485.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.3527, allocations: 7.094 MB / 492.9 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.3939, allocations: 32.8 MB / 0.5133 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/0.4014, allocations: 2.727 MB / 0.516 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.4033, allocations: 1.357 MB / 0.5173 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006557/0.4099, allocations: 3.345 MB / 0.5206 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4099, allocations: 47.16 kB / 0.5206 GB, free: 14.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.075e-06/0.4099, allocations: 4 kB / 0.5206 GB, free: 14.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.02869/0.4386, allocations: 11.58 MB / 0.532 GB, free: 2.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.4387, allocations: 149.3 kB / 0.5321 GB, free: 2.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.193/0.6317, allocations: 3.926 MB / 0.5359 GB, free: 101.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002352/0.6319, allocations: 39.42 kB / 0.536 GB, free: 101.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.6334, allocations: 2.864 MB / 0.5388 GB, free: 100.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.6339, allocations: 0.541 MB / 0.5393 GB, free: 99.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.6352, allocations: 1.088 MB / 0.5404 GB, free: 99.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.6352, allocations: 302.1 kB / 0.5406 GB, free: 98.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/0.6375, allocations: 1.701 MB / 0.5423 GB, free: 98.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/0.6407, allocations: 5.122 MB / 0.5473 GB, free: 93.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005318/0.646, allocations: 7.409 MB / 0.5545 GB, free: 86.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.449e-05/0.6461, allocations: 35.25 kB / 0.5546 GB, free: 86.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008287/0.6544, allocations: 6.719 MB / 0.5611 GB, free: 82.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.6544, allocations: 60.12 kB / 0.5612 GB, free: 82.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/0.6545, allocations: 124 kB / 0.5613 GB, free: 82.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.655, allocations: 319.8 kB / 0.5616 GB, free: 82.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.6581, allocations: 1.247 MB / 0.5628 GB, free: 81.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.6601, allocations: 2.372 MB / 0.5652 GB, free: 78.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.6637, allocations: 286.1 kB / 0.5654 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/0.6641, allocations: 331.6 kB / 0.5657 GB, free: 78.29 MB / 446.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.002101/0.6663, allocations: 1.802 MB / 0.5675 GB, free: 76.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/0.6668, allocations: 325.8 kB / 0.5678 GB, free: 76.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.6706, allocations: 2.351 MB / 0.5701 GB, free: 74.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.6707, allocations: 20 kB / 0.5701 GB, free: 74.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6707, allocations: 4 kB / 0.5701 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6707, allocations: 3.984 kB / 0.5701 GB, free: 74.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009602/0.6803, allocations: 5.653 MB / 0.5757 GB, free: 68.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6803, allocations: 7.906 kB / 0.5757 GB, free: 68.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.681, allocations: 167.8 kB / 0.5758 GB, free: 68.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.6829, allocations: 0.7186 MB / 0.5765 GB, free: 67.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.6829, allocations: 20 kB / 0.5765 GB, free: 67.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.6874, allocations: 4.674 MB / 0.5811 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6874, allocations: 4.031 kB / 0.5811 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.6928, allocations: 4.347 MB / 0.5854 GB, free: 58.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008856/0.6937, allocations: 297.7 kB / 0.5856 GB, free: 58.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.694, allocations: 20 kB / 0.5857 GB, free: 58.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.695, allocations: 69.09 kB / 0.5857 GB, free: 58.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6951, allocations: 72.52 kB / 0.5858 GB, free: 58.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.6952, allocations: 35.52 kB / 0.5858 GB, free: 58.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002449/0.6977, allocations: 2.319 MB / 0.5881 GB, free: 55.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6977, allocations: 64 / 0.5881 GB, free: 55.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003398/0.7011, allocations: 0.8046 MB / 0.5889 GB, free: 54.92 MB / 446.1 MB 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.005327/0.7064, allocations: 4.987 MB / 0.5938 GB, free: 49.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004598/0.711, allocations: 3.884 MB / 0.5975 GB, free: 46.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.711, allocations: 4 kB / 0.5975 GB, free: 46.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.712, allocations: 1.033 MB / 0.5986 GB, free: 44.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.7139, allocations: 399.9 kB / 0.5989 GB, free: 44.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/0.7474, allocations: 37.77 MB / 0.6358 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/0.7496, allocations: 2.229 MB / 0.638 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003507/0.7531, allocations: 1.66 MB / 0.6396 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/0.7551, allocations: 1.522 MB / 0.6411 GB, free: 12.19 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7551, allocations: 0 / 0.6411 GB, free: 12.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.873, allocations: 60.3 MB / 0.7 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.5, allocations: 11.78 kB / 0.7 GB, free: 0.6211 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.087433048989624]