Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001701/0.001701, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 59.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1129, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2099/0.3228, allocations: 10.24 MB / 436.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006895/0.3297, allocations: 3.816 MB / 440.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.3316, allocations: 55.06 kB / 440.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.3352, allocations: 1.971 MB / 442.8 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.3401, allocations: 1.67 MB / 444.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.3417, allocations: 0.6058 MB / 445 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.346, allocations: 3.365 MB / 448.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.3481, allocations: 2.195 MB / 450.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.3496, allocations: 1.241 MB / 451.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.3518, allocations: 1.808 MB / 453.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.3524, allocations: 253.8 kB / 453.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.3546, allocations: 1.053 MB / 454.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.3563, allocations: 1.596 MB / 456.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.3586, allocations: 1.816 MB / 458.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007473/0.366, allocations: 5.811 MB / 464.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.366, allocations: 1.031 kB / 464.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.366, allocations: 0 / 464.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001369/0.3662, allocations: 0 / 464.2 MB, free: 8.492 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.008999/0.3752, allocations: 4.112 MB / 468.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.3752, allocations: 9.469 kB / 468.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.3763, allocations: 0.6115 MB / 468.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/0.3822, allocations: 1.803 MB / 470.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.3867, allocations: 2.166 MB / 472.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.3868, allocations: 187.9 kB / 473 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004708/0.3873, allocations: 256.1 kB / 473.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4011, allocations: 8.439 MB / 481.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.4012, allocations: 51.62 kB / 481.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.4016, allocations: 123.9 kB / 481.9 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.4046, allocations: 1.695 MB / 483.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.4192, allocations: 7.11 MB / 490.7 MB, free: 332 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04671/0.4659, allocations: 34.07 MB / 0.5125 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/0.4734, allocations: 3.179 MB / 0.5156 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.4756, allocations: 1.371 MB / 0.5169 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009155/0.4848, allocations: 4.45 MB / 0.5213 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/0.4848, allocations: 47.94 kB / 0.5213 GB, free: 3.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.74e-06/0.4848, allocations: 0 / 0.5213 GB, free: 3.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03085/0.5157, allocations: 11.75 MB / 0.5328 GB, free: 7.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.5158, allocations: 141.2 kB / 0.5329 GB, free: 7.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/0.5232, allocations: 3.722 MB / 0.5366 GB, free: 4.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.5235, allocations: 45.7 kB / 0.5366 GB, free: 4.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0029/0.5264, allocations: 2.862 MB / 0.5394 GB, free: 1.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008286/0.5272, allocations: 0.5429 MB / 0.5399 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002639/0.5298, allocations: 1.084 MB / 0.541 GB, free: 15.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.53, allocations: 301.1 kB / 0.5413 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/0.5332, allocations: 1.705 MB / 0.5429 GB, free: 13.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006757/0.54, allocations: 5.119 MB / 0.5479 GB, free: 6.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009413/0.5494, allocations: 7.406 MB / 0.5552 GB, free: 13.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.876e-05/0.5495, allocations: 32 kB / 0.5552 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01354/0.563, allocations: 6.727 MB / 0.5618 GB, free: 6.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.5632, allocations: 60 kB / 0.5618 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/0.5633, allocations: 124.2 kB / 0.5619 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007409/0.5641, allocations: 316.7 kB / 0.5623 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/0.5684, allocations: 1.241 MB / 0.5635 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.5716, allocations: 2.493 MB / 0.5659 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/0.5757, allocations: 296 kB / 0.5662 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000937/0.5766, allocations: 328 kB / 0.5665 GB, free: 1.789 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.00396/0.5806, allocations: 1.788 MB / 0.5682 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/0.5813, allocations: 329.7 kB / 0.5686 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/0.5862, allocations: 2.363 MB / 0.5709 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.5863, allocations: 16 kB / 0.5709 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.5863, allocations: 8.125 kB / 0.5709 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.5863, allocations: 7.922 kB / 0.5709 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.5994, allocations: 5.914 MB / 0.5767 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.5994, allocations: 7.938 kB / 0.5767 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/0.6003, allocations: 175.8 kB / 0.5768 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.6025, allocations: 0.7108 MB / 0.5775 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.6026, allocations: 20 kB / 0.5776 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006495/0.6091, allocations: 4.815 MB / 0.5823 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6091, allocations: 7.922 kB / 0.5823 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/0.6164, allocations: 4.345 MB / 0.5865 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000957/0.6174, allocations: 378.8 kB / 0.5869 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/0.6179, allocations: 19.94 kB / 0.5869 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6189, allocations: 67.91 kB / 0.587 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.6191, allocations: 68.5 kB / 0.587 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.6192, allocations: 32 kB / 0.587 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003681/0.6229, allocations: 2.327 MB / 0.5893 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6229, allocations: 4 kB / 0.5893 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0036/0.6265, allocations: 0.7968 MB / 0.5901 GB, free: 9.332 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.00737/0.6338, allocations: 4.984 MB / 0.595 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006799/0.6406, allocations: 3.893 MB / 0.5988 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6406, allocations: 0 / 0.5988 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.6424, allocations: 1.033 MB / 0.5998 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.6452, allocations: 393.5 kB / 0.6002 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2138/0.859, allocations: 37.7 MB / 0.637 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/0.8616, allocations: 2.777 MB / 0.6397 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00292/0.8646, allocations: 1.656 MB / 0.6413 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.8659, allocations: 1.529 MB / 0.6428 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.8659, allocations: 0 / 0.6428 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/1.896, allocations: 57.91 MB / 0.6994 GB, free: 95.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/27.72, allocations: 7.312 kB / 0.6994 GB, free: 95.89 MB / 0.5137 GB " [Timeout remaining time 632] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 32.80051685217768]