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.001341/0.001341, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001575/0.001575, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.462/1.462, 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.001494/0.001494, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 53.32 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.257/0.3793, allocations: 10.24 MB / 436.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.3871, allocations: 3.818 MB / 440.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.3886, allocations: 70.28 kB / 440.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.3925, allocations: 1.961 MB / 442.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.3971, allocations: 1.673 MB / 444.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.3989, allocations: 0.6142 MB / 444.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005408/0.4043, allocations: 3.355 MB / 448.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.4076, allocations: 2.196 MB / 450.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.41, allocations: 1.257 MB / 451.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.4129, allocations: 1.81 MB / 453.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.4135, allocations: 257.4 kB / 453.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.4159, allocations: 1.053 MB / 454.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.4178, allocations: 1.592 MB / 456.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002052/0.4198, allocations: 1.813 MB / 458 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008206/0.428, allocations: 5.814 MB / 463.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.428, allocations: 3.938 kB / 463.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.428, allocations: 0 / 463.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.4282, allocations: 0 / 463.8 MB, free: 8.043 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.009593/0.4378, allocations: 4.113 MB / 468 MB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.4378, allocations: 9.219 kB / 468 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/0.4388, allocations: 0.6115 MB / 468.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006451/0.4453, allocations: 1.8 MB / 470.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/0.4498, allocations: 2.167 MB / 472.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.45, allocations: 199.8 kB / 472.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004946/0.4505, allocations: 251.9 kB / 473 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/0.4658, allocations: 8.443 MB / 481.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.501e-05/0.4659, allocations: 35.7 kB / 481.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.4663, allocations: 123.9 kB / 481.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002972/0.4692, allocations: 1.699 MB / 483.3 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.4836, allocations: 7.119 MB / 490.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04803/0.5316, allocations: 34.08 MB / 0.5122 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008502/0.5401, allocations: 3.174 MB / 0.5153 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002162/0.5423, allocations: 1.365 MB / 0.5166 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008331/0.5506, allocations: 4.45 MB / 0.521 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.5507, allocations: 51 kB / 0.521 GB, free: 3.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 6.172e-06/0.5507, allocations: 1.078 kB / 0.521 GB, free: 3.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03415/0.5848, allocations: 11.74 MB / 0.5325 GB, free: 7.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.5849, allocations: 153.1 kB / 0.5326 GB, free: 7.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0074/0.5923, allocations: 3.722 MB / 0.5363 GB, free: 3.621 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.5927, allocations: 45.7 kB / 0.5363 GB, free: 3.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.5955, allocations: 2.862 MB / 0.5391 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007782/0.5963, allocations: 0.539 MB / 0.5396 GB, free: 140 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002423/0.5987, allocations: 1.08 MB / 0.5407 GB, free: 15.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5989, allocations: 305.1 kB / 0.541 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/0.6022, allocations: 1.701 MB / 0.5426 GB, free: 13.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.6082, allocations: 5.115 MB / 0.5476 GB, free: 6.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009488/0.6177, allocations: 7.417 MB / 0.5549 GB, free: 13.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.6178, allocations: 32 kB / 0.5549 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01373/0.6315, allocations: 6.723 MB / 0.5615 GB, free: 6.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.6318, allocations: 60 kB / 0.5615 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000338/0.6321, allocations: 120 kB / 0.5616 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/0.6329, allocations: 321.6 kB / 0.5619 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/0.6377, allocations: 1.244 MB / 0.5632 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.6411, allocations: 2.5 MB / 0.5656 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/0.6461, allocations: 291.5 kB / 0.5659 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000906/0.647, allocations: 328 kB / 0.5662 GB, free: 1.336 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.004469/0.6514, allocations: 1.783 MB / 0.5679 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/0.6523, allocations: 325.8 kB / 0.5682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/0.658, allocations: 2.367 MB / 0.5705 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.996e-05/0.6581, allocations: 15.94 kB / 0.5706 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/0.6581, allocations: 7.938 kB / 0.5706 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.6581, allocations: 11.97 kB / 0.5706 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.6723, allocations: 5.898 MB / 0.5763 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.6723, allocations: 11.92 kB / 0.5764 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/0.6731, allocations: 171.8 kB / 0.5765 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/0.6755, allocations: 0.7147 MB / 0.5772 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.6756, allocations: 20 kB / 0.5772 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/0.6822, allocations: 4.817 MB / 0.5819 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6823, allocations: 4.062 kB / 0.5819 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/0.6898, allocations: 4.35 MB / 0.5862 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.6909, allocations: 374.8 kB / 0.5865 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007588/0.6917, allocations: 24.8 kB / 0.5866 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.6932, allocations: 67.91 kB / 0.5866 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.6935, allocations: 60.64 kB / 0.5867 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6936, allocations: 43.98 kB / 0.5867 GB, free: 12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005227/0.6988, allocations: 2.315 MB / 0.589 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6988, allocations: 0 / 0.589 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005783/0.7046, allocations: 0.8084 MB / 0.5898 GB, free: 8.891 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.00896/0.7136, allocations: 4.993 MB / 0.5947 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008189/0.7217, allocations: 3.882 MB / 0.5985 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.7218, allocations: 0 / 0.5985 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.7235, 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.00354/0.727, allocations: 391.4 kB / 0.5998 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3393/1.066, allocations: 37.7 MB / 0.6367 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004026/1.07, allocations: 2.78 MB / 0.6394 GB, free: 148.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004377/1.075, allocations: 1.662 MB / 0.641 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.077, allocations: 1.515 MB / 0.6425 GB, free: 147 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/1.077, allocations: 0 / 0.6425 GB, free: 147 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6138/1.691, allocations: 57.93 MB / 0.699 GB, free: 96.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.31/25, allocations: 0 / 0.699 GB, free: 96.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 28.333478892222047]