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.001513/0.001513, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001607/0.001607, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.39/1.39, allocations: 230.4 MB / 254.7 MB, free: 15.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.0988, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1975/0.2963, allocations: 10.24 MB / 437.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.3025, allocations: 3.818 MB / 441.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3036, allocations: 65.94 kB / 441.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.3069, allocations: 1.969 MB / 443.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.3107, allocations: 1.669 MB / 444.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3122, allocations: 0.6135 MB / 445.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004148/0.3163, allocations: 3.358 MB / 448.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.3189, allocations: 2.195 MB / 451 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.321, allocations: 1.257 MB / 452.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.3235, allocations: 1.806 MB / 454.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004959/0.324, allocations: 253.4 kB / 454.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.3261, allocations: 1.056 MB / 455.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.3276, allocations: 1.598 MB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.3296, allocations: 1.813 MB / 458.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006867/0.3365, allocations: 5.815 MB / 464.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3365, allocations: 0 / 464.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3365, allocations: 0.875 kB / 464.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.3366, allocations: 0 / 464.6 MB, free: 7.797 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.009673/0.3463, allocations: 4.113 MB / 468.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3463, allocations: 10.22 kB / 468.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001077/0.3464, allocations: 87.5 kB / 468.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008701/0.3473, allocations: 0.6054 MB / 469.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.3537, allocations: 1.802 MB / 471.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.3578, allocations: 2.173 MB / 473.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.358, allocations: 196.8 kB / 473.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/0.3585, allocations: 247.9 kB / 473.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.3726, allocations: 8.439 MB / 482.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.363e-05/0.3727, allocations: 47.62 kB / 482.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003556/0.373, allocations: 127.9 kB / 482.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003/0.376, allocations: 1.688 MB / 484.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.39, allocations: 7.119 MB / 491.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/0.433, allocations: 34.07 MB / 0.513 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007763/0.4407, allocations: 3.182 MB / 0.5161 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.4426, allocations: 1.362 MB / 0.5174 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00634/0.4489, allocations: 4.446 MB / 0.5218 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.449, allocations: 47.12 kB / 0.5218 GB, free: 3.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 2.745e-06/0.449, allocations: 0 / 0.5218 GB, free: 3.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02975/0.4787, allocations: 11.75 MB / 0.5333 GB, free: 7.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.4788, allocations: 145.2 kB / 0.5334 GB, free: 6.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.4841, allocations: 3.73 MB / 0.5371 GB, free: 3.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4843, allocations: 41.7 kB / 0.5371 GB, free: 3.195 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.4864, allocations: 2.854 MB / 0.5399 GB, free: 320 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.487, allocations: 0.543 MB / 0.5404 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.4884, allocations: 1.087 MB / 0.5415 GB, free: 14.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4885, allocations: 301.1 kB / 0.5418 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.4911, allocations: 1.702 MB / 0.5434 GB, free: 12.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/0.4962, allocations: 5.123 MB / 0.5484 GB, free: 5.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/0.5052, allocations: 7.405 MB / 0.5557 GB, free: 12.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.493e-05/0.5053, allocations: 36 kB / 0.5557 GB, free: 12.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01241/0.5177, allocations: 6.725 MB / 0.5623 GB, free: 5.934 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.5178, allocations: 58.5 kB / 0.5623 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/0.5179, allocations: 123.9 kB / 0.5624 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.5185, allocations: 320.8 kB / 0.5628 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003739/0.5223, allocations: 1.247 MB / 0.564 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.5252, allocations: 2.493 MB / 0.5664 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/0.5288, allocations: 291.6 kB / 0.5667 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005976/0.5294, allocations: 328 kB / 0.567 GB, free: 0.9609 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.00287/0.5323, allocations: 1.787 MB / 0.5687 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/0.5329, allocations: 329.7 kB / 0.5691 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005079/0.538, allocations: 2.363 MB / 0.5714 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.538, allocations: 20 kB / 0.5714 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.538, allocations: 7.938 kB / 0.5714 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.538, allocations: 4.453 kB / 0.5714 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.5496, allocations: 5.91 MB / 0.5772 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.5496, allocations: 0 / 0.5772 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.5504, allocations: 175.8 kB / 0.5773 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/0.5527, allocations: 0.7119 MB / 0.578 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-05/0.5527, allocations: 24.62 kB / 0.578 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.5591, allocations: 4.819 MB / 0.5828 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5591, allocations: 0 / 0.5828 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/0.5665, allocations: 4.354 MB / 0.587 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.5676, allocations: 378.8 kB / 0.5874 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.568, allocations: 23.88 kB / 0.5874 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5691, allocations: 67.91 kB / 0.5875 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.5693, allocations: 64.56 kB / 0.5875 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.801e-05/0.5694, allocations: 36 kB / 0.5876 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003684/0.5731, allocations: 2.323 MB / 0.5898 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5731, allocations: 4.062 kB / 0.5898 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004464/0.5775, allocations: 0.7968 MB / 0.5906 GB, free: 8.504 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.007576/0.5851, allocations: 4.987 MB / 0.5955 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.5917, allocations: 3.883 MB / 0.5993 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5917, allocations: 0 / 0.5993 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.5933, allocations: 1.041 MB / 0.6003 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.5957, allocations: 398.2 kB / 0.6007 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2346/0.8303, allocations: 37.7 MB / 0.6375 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.8331, allocations: 2.777 MB / 0.6402 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002943/0.836, allocations: 1.66 MB / 0.6418 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.8375, allocations: 1.523 MB / 0.6433 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.8375, allocations: 0 / 0.6433 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4041/1.242, allocations: 57.93 MB / 0.6999 GB, free: 93.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.43/24.67, allocations: 8.062 kB / 0.6999 GB, free: 93.76 MB / 0.5137 GB " [Timeout remaining time 635] (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/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_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: 28.840035039000213]