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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 176.3 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 241.4 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007312/0.0007312, allocations: 94.66 kB / 292.6 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.3484, allocations: 99.6 MB / 0.4906 GB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.3487, allocations: 105.1 kB / 0.4907 GB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3576/0.7063, allocations: 73.19 MB / 0.5621 GB, free: 51.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7064, allocations: 0 / 0.5621 GB, free: 51.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.7066, allocations: 68 kB / 0.5622 GB, free: 51.89 MB / 378.7 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.0111/0.7177, allocations: 3.505 MB / 0.5656 GB, free: 48.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.7178, allocations: 8.031 kB / 0.5656 GB, free: 48.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00851/0.7263, allocations: 2.055 MB / 0.5676 GB, free: 46.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006723/0.733, allocations: 2.832 MB / 0.5704 GB, free: 43.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.7333, allocations: 267.3 kB / 0.5707 GB, free: 43.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.7351, allocations: 352.2 kB / 0.571 GB, free: 42.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.7534, allocations: 8.937 MB / 0.5797 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/0.7537, allocations: 59.66 kB / 0.5798 GB, free: 32.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/0.7552, allocations: 175.8 kB / 0.58 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.7565, allocations: 0.8878 MB / 0.5808 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.7697, allocations: 7.191 MB / 0.5878 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/0.8152, allocations: 42.9 MB / 0.6297 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007417/0.8227, allocations: 3.287 MB / 0.6329 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.8248, allocations: 1.454 MB / 0.6344 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007463/0.8323, allocations: 4.404 MB / 0.6387 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.8324, allocations: 43.06 kB / 0.6387 GB, free: 2.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 4.509e-06/0.8324, allocations: 0 / 0.6387 GB, free: 2.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.029/0.8614, allocations: 11.36 MB / 0.6498 GB, free: 7.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.8615, allocations: 149.4 kB / 0.6499 GB, free: 6.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005363/0.8669, allocations: 3.714 MB / 0.6536 GB, free: 3.238 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.8672, allocations: 41.7 kB / 0.6536 GB, free: 3.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.869, allocations: 2.76 MB / 0.6563 GB, free: 400 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/0.8695, allocations: 0.5134 MB / 0.6568 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.8697, allocations: 108 kB / 0.6569 GB, free: 15.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003135/0.87, allocations: 0.5292 MB / 0.6574 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.8724, allocations: 1.673 MB / 0.6591 GB, free: 13.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/0.877, allocations: 5.117 MB / 0.6641 GB, free: 6.695 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2548/1.132, allocations: 7.393 MB / 0.6713 GB, free: 111.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/1.132, allocations: 35.28 kB / 0.6713 GB, free: 111.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01238/1.144, allocations: 6.681 MB / 0.6778 GB, free: 110.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/1.144, allocations: 57.66 kB / 0.6779 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.145, allocations: 125.1 kB / 0.678 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/1.145, allocations: 319.5 kB / 0.6783 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/1.149, allocations: 1.285 MB / 0.6796 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/1.151, allocations: 2.295 MB / 0.6818 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/1.155, allocations: 284.6 kB / 0.6821 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/1.156, allocations: 339.4 kB / 0.6824 GB, free: 109.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * 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 (666): * Single equations (assignments): 662 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002756/1.158, allocations: 1.788 MB / 0.6842 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/1.159, allocations: 310.1 kB / 0.6844 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/1.163, allocations: 2.365 MB / 0.6868 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.163, allocations: 18.94 kB / 0.6868 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.163, allocations: 3.656 kB / 0.6868 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.163, allocations: 3.797 kB / 0.6868 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009953/1.173, allocations: 5.943 MB / 0.6926 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.173, allocations: 3.938 kB / 0.6926 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/1.174, allocations: 169.9 kB / 0.6928 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/1.176, allocations: 0.7111 MB / 0.6934 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.561e-05/1.176, allocations: 19.69 kB / 0.6935 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/1.18, allocations: 4.454 MB / 0.6978 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.18, allocations: 0 / 0.6978 GB, free: 106.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/1.186, allocations: 4.332 MB / 0.702 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008799/1.187, allocations: 377 kB / 0.7024 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/1.187, allocations: 18.59 kB / 0.7024 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/1.188, allocations: 73.84 kB / 0.7025 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.189, allocations: 74.53 kB / 0.7026 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/1.189, allocations: 31.64 kB / 0.7026 GB, free: 104.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003196/1.192, allocations: 2.317 MB / 0.7049 GB, free: 104 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.192, allocations: 3.875 kB / 0.7049 GB, free: 104 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00388/1.196, allocations: 0.8236 MB / 0.7057 GB, free: 103.9 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/1.196, allocations: 160.4 kB / 0.7058 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004983/1.201, allocations: 4.01 MB / 0.7097 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.201, allocations: 0 / 0.7097 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.202, allocations: 1.101 MB / 0.7108 GB, free: 102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.205, allocations: 365.3 kB / 0.7112 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.216, allocations: 8.613 MB / 0.7196 GB, free: 97.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/1.218, allocations: 2.785 MB / 0.7223 GB, free: 95.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003663/1.222, allocations: 1.659 MB / 0.7239 GB, free: 94.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/1.223, allocations: 210.8 kB / 0.7241 GB, free: 94.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/1.223, allocations: 0 / 0.7241 GB, free: 94.17 MB / 442.7 MB Notification: Performance of Templates: time 0.04416/1.267, allocations: 29.15 MB / 0.7526 GB, free: 72.29 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches