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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.388/2.388, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6428, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02329/0.6662, allocations: 10.18 MB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.6819, allocations: 3.787 MB / 423.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004203/0.6862, allocations: 59.81 kB / 424 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006992/0.6933, allocations: 1.946 MB / 425.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008803/0.7022, allocations: 1.619 MB / 427.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.7054, allocations: 0.6199 MB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.7155, allocations: 3.361 MB / 431.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00639/0.722, allocations: 2.569 MB / 434.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.7255, allocations: 1.226 MB / 435.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004481/0.7301, allocations: 1.67 MB / 437 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.7318, allocations: 256 kB / 437.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.7362, allocations: 1.014 MB / 438.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00414/0.7404, allocations: 1.566 MB / 439.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004656/0.7451, allocations: 1.809 MB / 441.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.7576, allocations: 5.777 MB / 447.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.8e-05/0.7578, allocations: 0 / 447.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.7578, allocations: 0 / 447.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003826/0.7582, allocations: 0 / 447.4 MB, free: 11.93 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.01973/0.7779, allocations: 3.995 MB / 451.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/0.778, allocations: 8.031 kB / 451.4 MB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.7904, allocations: 1.77 MB / 453.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00887/0.7994, allocations: 1.92 MB / 455.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.7999, allocations: 192.8 kB / 455.3 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/0.802, allocations: 255.7 kB / 455.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/0.8342, allocations: 8.447 MB / 464 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.8345, allocations: 43.58 kB / 464 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.8356, allocations: 127.9 kB / 464.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005159/0.8407, allocations: 1.695 MB / 465.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.8686, allocations: 7.106 MB / 472.9 MB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08985/0.9586, allocations: 34.02 MB / 0.4951 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/0.9732, allocations: 3.291 MB / 0.4983 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.9776, allocations: 1.464 MB / 0.4997 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.9937, allocations: 4.44 MB / 0.5041 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.994, allocations: 51.06 kB / 0.5041 GB, free: 4.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 1.586e-05/0.994, allocations: 0 / 0.5041 GB, free: 4.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.06072/1.055, allocations: 11.55 MB / 0.5154 GB, free: 9.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/1.055, allocations: 145.2 kB / 0.5155 GB, free: 9.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.069, allocations: 3.713 MB / 0.5191 GB, free: 5.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/1.07, allocations: 45.7 kB / 0.5192 GB, free: 5.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004623/1.074, allocations: 2.74 MB / 0.5219 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.076, allocations: 0.5209 MB / 0.5224 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005125/1.081, allocations: 1.079 MB / 0.5234 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/1.081, allocations: 301.1 kB / 0.5237 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006152/1.087, allocations: 1.713 MB / 0.5254 GB, free: 14.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/1.098, allocations: 5.135 MB / 0.5304 GB, free: 8.016 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.6204/1.719, allocations: 7.426 MB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/1.719, allocations: 37.44 kB / 0.5377 GB, free: 119.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02465/1.744, allocations: 6.728 MB / 0.5443 GB, free: 117.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/1.744, allocations: 57.12 kB / 0.5443 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002784/1.744, allocations: 124.2 kB / 0.5444 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/1.746, allocations: 323.8 kB / 0.5447 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00735/1.753, allocations: 1.247 MB / 0.546 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/1.757, allocations: 2.493 MB / 0.5484 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/1.766, allocations: 288.5 kB / 0.5487 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/1.768, allocations: 332.8 kB / 0.549 GB, free: 115.1 MB / 462.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 (668): * Single equations (assignments): 664 * 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.006616/1.774, allocations: 1.79 MB / 0.5507 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.776, allocations: 303.6 kB / 0.551 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/1.784, allocations: 2.381 MB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/1.784, allocations: 11.84 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/1.784, allocations: 3.938 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/1.784, allocations: 7.781 kB / 0.5534 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/1.803, allocations: 5.912 MB / 0.5591 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/1.803, allocations: 3.938 kB / 0.5592 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.805, allocations: 178.4 kB / 0.5593 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/1.808, allocations: 0.7153 MB / 0.56 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.808, allocations: 24 kB / 0.56 GB, free: 109.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/1.816, allocations: 4.81 MB / 0.5647 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.817, allocations: 0 / 0.5647 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.827, allocations: 4.342 MB / 0.569 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.829, allocations: 365 kB / 0.5693 GB, free: 99.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006564/1.83, allocations: 16.88 kB / 0.5693 GB, free: 99.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.831, allocations: 75.91 kB / 0.5694 GB, free: 99.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.832, allocations: 74.52 kB / 0.5695 GB, free: 99.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/1.832, allocations: 36 kB / 0.5695 GB, free: 99.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005745/1.838, allocations: 2.311 MB / 0.5718 GB, free: 97.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.62e-07/1.838, allocations: 192 / 0.5718 GB, free: 97.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009492/1.847, allocations: 0.8074 MB / 0.5726 GB, free: 96.54 MB / 462.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.0009065/1.848, allocations: 155.9 kB / 0.5727 GB, free: 96.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.859, allocations: 4.052 MB / 0.5767 GB, free: 92.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/1.859, allocations: 0 / 0.5767 GB, free: 92.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.861, allocations: 1.116 MB / 0.5778 GB, free: 91.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/1.866, allocations: 389.2 kB / 0.5781 GB, free: 90.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.889, allocations: 7.644 MB / 0.5856 GB, free: 83.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.895, allocations: 2.78 MB / 0.5883 GB, free: 80.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.896, allocations: 251.4 kB / 0.5886 GB, free: 80.13 MB / 462.1 MB Notification: Performance of SimCode: time 1.974e-06/1.896, allocations: 0 / 0.5886 GB, free: 80.13 MB / 462.1 MB Notification: Performance of Templates: time 0.1488/2.045, allocations: 64.8 MB / 0.6518 GB, free: 15.39 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/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) Reference file matches