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.0009824/0.0009826, allocations: 95.14 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 4 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2145/0.3188, allocations: 29.66 MB / 387.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.3343, allocations: 7.742 MB / 395.5 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005969/0.3403, allocations: 145.1 kB / 395.6 MB, free: 0 / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005201/0.3456, allocations: 1.424 MB / 397 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.3619, allocations: 4.35 MB / 401.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.3649, allocations: 498.8 kB / 401.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.3695, allocations: 1.935 MB / 403.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004946/0.3745, allocations: 2.939 MB / 406.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.3764, allocations: 0.853 MB / 407.6 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3785, allocations: 1.134 MB / 408.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.3792, allocations: 114.7 kB / 408.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3811, allocations: 0.7661 MB / 409.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.3824, allocations: 1.294 MB / 410.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.3832, allocations: 0.7025 MB / 411.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.3874, allocations: 4.432 MB / 416 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3874, allocations: 0 / 416 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3874, allocations: 0 / 416 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.3875, allocations: 4 kB / 416 MB, free: 1.637 MB / 318.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.006307/0.3939, allocations: 3.41 MB / 419.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3939, allocations: 12.03 kB / 419.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007109/0.401, allocations: 2.109 MB / 421.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.4052, allocations: 1.99 MB / 423.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.4053, allocations: 192.8 kB / 423.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005132/0.4058, allocations: 251.8 kB / 424 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.419, allocations: 8.505 MB / 432.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-05/0.4192, allocations: 43.58 kB / 432.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.4195, allocations: 123.9 kB / 432.7 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/0.4222, allocations: 1.699 MB / 434.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.4357, allocations: 7.176 MB / 441.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03943/0.4752, allocations: 34.21 MB / 475.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007238/0.4825, allocations: 3.295 MB / 479.1 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007759/0.4903, allocations: 4.488 MB / 483.5 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.4904, allocations: 55.02 kB / 483.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 6.011e-06/0.4904, allocations: 3.984 kB / 483.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02783/0.5182, allocations: 11.81 MB / 495.4 MB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.5183, allocations: 141.2 kB / 495.6 MB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/0.5229, allocations: 3.819 MB / 499.4 MB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.5231, allocations: 45.7 kB / 499.4 MB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.5248, allocations: 2.748 MB / 0.4904 GB, free: 9.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.5253, allocations: 0.521 MB / 0.4909 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5255, allocations: 104 kB / 0.491 GB, free: 8.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003082/0.5258, allocations: 0.533 MB / 0.4915 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.5282, allocations: 1.681 MB / 0.4932 GB, free: 6.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/0.5325, allocations: 5.084 MB / 0.4981 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.5361, allocations: 2.873 MB / 0.5009 GB, free: 12.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.434e-05/0.5362, allocations: 32 kB / 0.501 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009736/0.5459, allocations: 6.67 MB / 0.5075 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.546, allocations: 56.47 kB / 0.5075 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.5461, allocations: 124.9 kB / 0.5077 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.5467, allocations: 340.6 kB / 0.508 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.5502, allocations: 1.24 MB / 0.5092 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.5526, allocations: 2.314 MB / 0.5114 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.5558, allocations: 299.5 kB / 0.5117 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/0.5562, allocations: 332 kB / 0.512 GB, free: 0.9648 MB / 430.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 (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.002418/0.5587, allocations: 1.787 MB / 0.5138 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/0.5591, allocations: 315.9 kB / 0.5141 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.5635, allocations: 2.371 MB / 0.5164 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.5636, allocations: 12 kB / 0.5164 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5636, allocations: 8 kB / 0.5164 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5636, allocations: 11.92 kB / 0.5164 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.5744, allocations: 5.926 MB / 0.5222 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.5745, allocations: 16.12 kB / 0.5222 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.5753, allocations: 171.8 kB / 0.5224 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.5775, allocations: 0.7185 MB / 0.5231 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5777, allocations: 23.98 kB / 0.5231 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.5832, allocations: 4.574 MB / 0.5276 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5832, allocations: 3.938 kB / 0.5276 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2237/0.807, allocations: 4.446 MB / 0.5319 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.808, allocations: 376 kB / 0.5323 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.8083, allocations: 21.62 kB / 0.5323 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.8094, allocations: 73.36 kB / 0.5324 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.8096, allocations: 70.5 kB / 0.5325 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.8097, allocations: 34.66 kB / 0.5325 GB, free: 140.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004484/0.8142, allocations: 2.402 MB / 0.5348 GB, free: 140.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8142, allocations: 0 / 0.5348 GB, free: 140.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004606/0.8188, allocations: 0.8298 MB / 0.5357 GB, free: 140.2 MB / 446.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 (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.0004352/0.8193, allocations: 166.5 kB / 0.5358 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006741/0.826, allocations: 4.002 MB / 0.5397 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8261, allocations: 3.719 kB / 0.5397 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.8276, allocations: 1.112 MB / 0.5408 GB, free: 138.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.8297, allocations: 362 kB / 0.5412 GB, free: 138.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.8428, allocations: 8.596 MB / 0.5495 GB, free: 133.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/0.8456, allocations: 2.858 MB / 0.5523 GB, free: 132.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003702/0.8493, allocations: 1.665 MB / 0.554 GB, free: 132.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/0.8499, allocations: 209.4 kB / 0.5542 GB, free: 132.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.85, allocations: 0 / 0.5542 GB, free: 132.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04391/0.8939, allocations: 29.3 MB / 0.5828 GB, free: 108.1 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches