Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 193.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 39.94 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2229, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01122/0.2341, allocations: 9.016 MB / 431.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.2409, allocations: 3.604 MB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.2416, allocations: 67.69 kB / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.2451, allocations: 1.9 MB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.2486, allocations: 1.708 MB / 438.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2498, allocations: 0.6199 MB / 439.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003767/0.2535, allocations: 3.334 MB / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.256, allocations: 2.11 MB / 444.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.2577, allocations: 1.265 MB / 446.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.26, allocations: 1.728 MB / 447.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004566/0.2605, allocations: 256 kB / 448.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.2622, allocations: 0.9244 MB / 449.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.2637, allocations: 1.616 MB / 450.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.2651, allocations: 1.355 MB / 452.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00677/0.2718, allocations: 5.879 MB / 458 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2719, allocations: 0 / 458 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2719, allocations: 0 / 458 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.088e-05/0.2719, allocations: 4 kB / 458 MB, free: 10.83 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.006891/0.2788, allocations: 4.053 MB / 462 MB, free: 6.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2789, allocations: 8.031 kB / 462 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007085/0.2796, allocations: 0.6082 MB / 462.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.2858, allocations: 1.812 MB / 464.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/0.2908, allocations: 2.215 MB / 466.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2909, allocations: 192.8 kB / 466.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.2914, allocations: 251.8 kB / 467.1 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.3047, allocations: 8.456 MB / 475.5 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-05/0.3048, allocations: 39.64 kB / 475.6 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.3051, allocations: 119.9 kB / 475.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/0.308, allocations: 1.695 MB / 477.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.3216, allocations: 7.082 MB / 484.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04321/0.3648, allocations: 32.81 MB / 0.5052 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/0.3727, allocations: 2.713 MB / 0.5078 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.3748, allocations: 1.361 MB / 0.5091 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007488/0.3823, allocations: 3.349 MB / 0.5124 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.3823, allocations: 43.22 kB / 0.5124 GB, free: 6.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.739e-06/0.3824, allocations: 3.938 kB / 0.5125 GB, free: 6.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.04503/0.4274, allocations: 11.52 MB / 0.5237 GB, free: 10.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.4275, allocations: 153 kB / 0.5238 GB, free: 10.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008868/0.4364, allocations: 3.939 MB / 0.5277 GB, free: 6.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003303/0.4367, allocations: 41.7 kB / 0.5277 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003731/0.4404, allocations: 2.866 MB / 0.5305 GB, free: 3.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.4416, allocations: 0.5468 MB / 0.5311 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002509/0.4441, allocations: 1.08 MB / 0.5321 GB, free: 1.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4443, allocations: 301.1 kB / 0.5324 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2325/0.6768, allocations: 1.69 MB / 0.5341 GB, free: 107.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/0.6822, allocations: 5.113 MB / 0.5391 GB, free: 103.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006639/0.6888, allocations: 7.411 MB / 0.5463 GB, free: 96.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/0.689, allocations: 35.06 kB / 0.5463 GB, free: 96.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009952/0.6989, allocations: 6.716 MB / 0.5529 GB, free: 94.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.699, allocations: 54.84 kB / 0.5529 GB, free: 94.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.6991, allocations: 124.9 kB / 0.5531 GB, free: 94.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.6996, allocations: 322.3 kB / 0.5534 GB, free: 94.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.7028, allocations: 1.237 MB / 0.5546 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.7046, allocations: 2.389 MB / 0.5569 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.7079, allocations: 290.7 kB / 0.5572 GB, free: 90.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/0.7082, allocations: 331.8 kB / 0.5575 GB, free: 90.42 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.001865/0.7101, allocations: 1.781 MB / 0.5592 GB, free: 88.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.7105, allocations: 324.6 kB / 0.5595 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.7142, allocations: 2.354 MB / 0.5618 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.7142, allocations: 16 kB / 0.5619 GB, free: 86.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7142, allocations: 4 kB / 0.5619 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7142, allocations: 6 kB / 0.5619 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/0.7229, allocations: 5.652 MB / 0.5674 GB, free: 81.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7229, allocations: 7.922 kB / 0.5674 GB, free: 81.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.7236, allocations: 170.1 kB / 0.5676 GB, free: 81.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.7254, allocations: 0.7069 MB / 0.5682 GB, free: 80.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.7255, allocations: 27.98 kB / 0.5683 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/0.7298, allocations: 4.673 MB / 0.5728 GB, free: 76.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7298, allocations: 0 / 0.5728 GB, free: 76.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.7348, allocations: 4.333 MB / 0.5771 GB, free: 71.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/0.7355, allocations: 305.3 kB / 0.5774 GB, free: 71.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.7358, allocations: 20.12 kB / 0.5774 GB, free: 71.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009955/0.7368, allocations: 71.84 kB / 0.5774 GB, free: 71.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.737, allocations: 68.05 kB / 0.5775 GB, free: 71.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.7371, allocations: 39.98 kB / 0.5775 GB, free: 71.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002422/0.7395, allocations: 2.319 MB / 0.5798 GB, free: 69.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7395, allocations: 0 / 0.5798 GB, free: 69.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003545/0.743, allocations: 0.8208 MB / 0.5806 GB, free: 68.39 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.005196/0.7482, allocations: 4.965 MB / 0.5855 GB, free: 63.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004916/0.7531, allocations: 3.885 MB / 0.5893 GB, free: 59.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7531, allocations: 1.438 kB / 0.5893 GB, free: 59.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.7542, allocations: 1.041 MB / 0.5903 GB, free: 58.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.7561, allocations: 379.3 kB / 0.5906 GB, free: 58.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/0.7921, allocations: 37.77 MB / 0.6275 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/0.7941, allocations: 2.228 MB / 0.6297 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002938/0.7971, allocations: 1.672 MB / 0.6313 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/0.7987, allocations: 1.519 MB / 0.6328 GB, free: 9.715 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7987, allocations: 0 / 0.6328 GB, free: 9.715 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.9156, allocations: 58.14 MB / 0.6896 GB, free: 312 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.59, allocations: 4.812 kB / 0.6896 GB, free: 308 kB / 494.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.09374746400863]