Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001716/0.001716, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002092/0.002092, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.436/1.436, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",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.001858/0.001858, allocations: 59.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2695, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009942/0.2795, allocations: 10.31 MB / 406.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008569/0.288, allocations: 3.839 MB / 410.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.2906, allocations: 69 kB / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004762/0.2954, allocations: 1.984 MB / 412.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.3009, allocations: 1.704 MB / 414.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.3027, allocations: 0.6238 MB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005881/0.3086, allocations: 3.334 MB / 418.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.3123, allocations: 2.131 MB / 420.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.3154, allocations: 1.277 MB / 421.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/0.3191, allocations: 1.813 MB / 423.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3202, allocations: 254.9 kB / 423.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.323, allocations: 1.058 MB / 424.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.3251, allocations: 1.62 MB / 426.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.3283, allocations: 1.841 MB / 428.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009129/0.3375, allocations: 5.864 MB / 434.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3375, allocations: 8 kB / 434.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3375, allocations: 0 / 434.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.3377, allocations: 0 / 434.1 MB, free: 13.46 MB / 350.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.008958/0.3466, allocations: 4.077 MB / 438.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3467, allocations: 19.98 kB / 438.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009719/0.3477, allocations: 0.6004 MB / 438.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006287/0.354, allocations: 1.804 MB / 440.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005054/0.359, allocations: 2.372 MB / 443 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3592, allocations: 188.8 kB / 443.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000577/0.3597, allocations: 259.8 kB / 443.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.3744, allocations: 8.431 MB / 451.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.3745, allocations: 43.64 kB / 451.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/0.3749, allocations: 119.9 kB / 452 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002847/0.3777, allocations: 1.695 MB / 453.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.3918, allocations: 7.098 MB / 460.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.435, allocations: 33.99 MB / 494.8 MB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/0.4423, allocations: 2.742 MB / 497.5 MB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.4443, allocations: 1.357 MB / 498.9 MB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007517/0.4518, allocations: 3.669 MB / 0.4908 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.4518, allocations: 47.16 kB / 0.4908 GB, free: 7.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.739e-06/0.4518, allocations: 0 / 0.4908 GB, free: 7.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02914/0.481, allocations: 11.54 MB / 0.5021 GB, free: 11.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.4811, allocations: 149.1 kB / 0.5022 GB, free: 11.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005664/0.4867, allocations: 3.751 MB / 0.5059 GB, free: 7.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.487, allocations: 45.7 kB / 0.5059 GB, free: 7.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002341/0.4893, allocations: 2.854 MB / 0.5087 GB, free: 4.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000786/0.4901, allocations: 0.5468 MB / 0.5092 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.4919, allocations: 1.084 MB / 0.5103 GB, free: 2.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4921, allocations: 301.1 kB / 0.5106 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.4948, allocations: 1.697 MB / 0.5122 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005819/0.5006, allocations: 5.115 MB / 0.5172 GB, free: 10.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009147/0.5098, allocations: 7.407 MB / 0.5245 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.593e-05/0.5099, allocations: 36 kB / 0.5245 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01274/0.5226, allocations: 6.717 MB / 0.5311 GB, free: 10.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.5227, allocations: 56.19 kB / 0.5311 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/0.5229, allocations: 124.1 kB / 0.5312 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/0.5236, allocations: 328.5 kB / 0.5315 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.5277, allocations: 1.24 MB / 0.5328 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.5306, allocations: 2.393 MB / 0.5351 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/0.5347, allocations: 287.6 kB / 0.5354 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.5358, allocations: 328 kB / 0.5357 GB, free: 5.367 MB / 462.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.003508/0.5393, allocations: 1.795 MB / 0.5374 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000764/0.54, allocations: 333.7 kB / 0.5378 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.545, allocations: 2.355 MB / 0.5401 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.545, allocations: 16 kB / 0.5401 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.545, allocations: 8 kB / 0.5401 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5451, allocations: 3.984 kB / 0.5401 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5579, allocations: 5.886 MB / 0.5458 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.5579, allocations: 0 / 0.5458 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009069/0.5588, allocations: 175.7 kB / 0.546 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/0.5611, allocations: 0.7186 MB / 0.5467 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5612, allocations: 16 kB / 0.5467 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006728/0.568, allocations: 4.71 MB / 0.5513 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.568, allocations: 0 / 0.5513 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007432/0.5754, allocations: 4.323 MB / 0.5555 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/0.5771, allocations: 489.5 kB / 0.556 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/0.5776, allocations: 24.05 kB / 0.556 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5787, allocations: 71.91 kB / 0.5561 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.5789, allocations: 68.53 kB / 0.5562 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.579, allocations: 39.92 kB / 0.5562 GB, free: 120 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1949/0.7739, allocations: 2.336 MB / 0.5585 GB, free: 143.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7739, allocations: 0 / 0.5585 GB, free: 143.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004799/0.7787, allocations: 0.813 MB / 0.5593 GB, free: 143.7 MB / 478.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.0075/0.7862, allocations: 4.974 MB / 0.5641 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/0.7931, allocations: 3.881 MB / 0.5679 GB, free: 140.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7931, allocations: 0 / 0.5679 GB, free: 140.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.7946, allocations: 1.033 MB / 0.5689 GB, free: 139.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.797, allocations: 389.6 kB / 0.5693 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0435/0.8405, allocations: 37.85 MB / 0.6063 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.843, allocations: 2.793 MB / 0.609 GB, free: 105.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003147/0.8462, allocations: 1.66 MB / 0.6106 GB, free: 104.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/0.8479, allocations: 1.519 MB / 0.6121 GB, free: 102.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.883e-06/0.8479, allocations: 4 kB / 0.6121 GB, free: 102.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09865/0.9465, allocations: 62.5 MB / 0.6731 GB, free: 40.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.8/25.75, allocations: 3.953 kB / 0.6731 GB, free: 40 MB / 478.1 MB " [Timeout remaining time 634] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 28.344631277002918]