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.0009468/0.0009469, allocations: 96.11 kB / 18 MB, free: 5.605 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: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.7 MB / 247.5 MB, free: 9.664 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002137/0.0002137, allocations: 7.984 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08556, allocations: 51.52 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1841/0.2697, allocations: 33.45 MB / 393.4 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.2882, allocations: 7.776 MB / 401.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007655/0.2959, allocations: 146.8 kB / 401.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.2975, allocations: 367.9 kB / 401.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.3024, allocations: 1.53 MB / 403.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.304, allocations: 0.5548 MB / 403.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005867/0.3099, allocations: 4.764 MB / 408.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004306/0.3142, allocations: 3.273 MB / 411.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.316, allocations: 0.9406 MB / 412.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.3181, allocations: 1.6 MB / 414.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.3185, allocations: 116 kB / 414.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.3203, allocations: 0.9359 MB / 415.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.3217, allocations: 1.41 MB / 416.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.3233, allocations: 1.663 MB / 418.4 MB, free: 232 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.3276, allocations: 4.397 MB / 422.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3276, allocations: 0 / 422.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3277, allocations: 0 / 422.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.3278, allocations: 0 / 422.8 MB, free: 11.82 MB / 334.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.006889/0.3347, allocations: 3.281 MB / 426.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3348, allocations: 12.03 kB / 426.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006629/0.3414, allocations: 1.825 MB / 427.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.3451, allocations: 1.881 MB / 429.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3453, allocations: 196.8 kB / 430 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005845/0.3459, allocations: 251.8 kB / 430.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.3594, allocations: 8.462 MB / 438.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.49e-05/0.3595, allocations: 39.59 kB / 438.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/0.3599, allocations: 123.9 kB / 438.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.3625, allocations: 1.699 MB / 440.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.3758, allocations: 7.126 MB / 447.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03728/0.4131, allocations: 34.14 MB / 481.9 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007146/0.4203, allocations: 3.296 MB / 485.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.4222, allocations: 1.469 MB / 486.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006056/0.4282, allocations: 4.444 MB / 491.1 MB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4283, allocations: 51.06 kB / 491.1 MB, free: 5.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.597e-06/0.4283, allocations: 4 kB / 491.1 MB, free: 5.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02825/0.4566, allocations: 11.53 MB / 0.4909 GB, free: 9.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.4567, allocations: 145.1 kB / 0.491 GB, free: 9.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/0.4614, allocations: 3.713 MB / 0.4946 GB, free: 5.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.4616, allocations: 41.7 kB / 0.4947 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.4633, allocations: 2.744 MB / 0.4973 GB, free: 2.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/0.4639, allocations: 0.5248 MB / 0.4979 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.4644, allocations: 461.7 kB / 0.4983 GB, free: 1.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.4645, allocations: 309.1 kB / 0.4986 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.4669, allocations: 1.716 MB / 0.5003 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.4714, allocations: 5.128 MB / 0.5053 GB, free: 9.059 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.4798, allocations: 7.43 MB / 0.5125 GB, free: 15.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.4799, allocations: 39.94 kB / 0.5126 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01221/0.4921, allocations: 6.738 MB / 0.5192 GB, free: 9.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.129e-05/0.4922, allocations: 59.94 kB / 0.5192 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.4924, allocations: 124 kB / 0.5193 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.4931, allocations: 316.7 kB / 0.5196 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.4972, allocations: 1.248 MB / 0.5208 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.5, allocations: 2.29 MB / 0.5231 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.504, allocations: 299.4 kB / 0.5234 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000836/0.5049, allocations: 332 kB / 0.5237 GB, free: 4.348 MB / 446.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.003443/0.5084, allocations: 1.787 MB / 0.5254 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007437/0.5091, allocations: 308 kB / 0.5257 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2224/0.7315, allocations: 2.368 MB / 0.528 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-05/0.7316, allocations: 18.95 kB / 0.5281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.7316, allocations: 4.188 kB / 0.5281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/0.7317, allocations: 5.5 kB / 0.5281 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/0.7478, allocations: 5.928 MB / 0.5339 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.7479, allocations: 2.281 kB / 0.5339 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/0.7488, allocations: 178.5 kB / 0.534 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.7512, allocations: 0.7151 MB / 0.5347 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.7514, allocations: 20.42 kB / 0.5347 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/0.7574, allocations: 4.471 MB / 0.5391 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7575, allocations: 1.156 kB / 0.5391 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/0.7647, allocations: 4.34 MB / 0.5434 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.766, allocations: 369 kB / 0.5437 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.7664, allocations: 26.94 kB / 0.5437 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7675, allocations: 70.45 kB / 0.5438 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.7677, allocations: 70.14 kB / 0.5439 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.5e-05/0.7678, allocations: 37.83 kB / 0.5439 GB, free: 136.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00371/0.7716, allocations: 2.317 MB / 0.5462 GB, free: 135.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7716, allocations: 0 / 0.5462 GB, free: 135.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004183/0.7758, allocations: 0.8036 MB / 0.5469 GB, free: 135.6 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 (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.0003826/0.7762, allocations: 147.1 kB / 0.5471 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005574/0.7818, allocations: 4.052 MB / 0.551 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7818, allocations: 0 / 0.551 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.7831, allocations: 1.112 MB / 0.5521 GB, free: 133.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.7861, allocations: 380.9 kB / 0.5525 GB, free: 133.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.7981, allocations: 9.394 MB / 0.5617 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.8003, allocations: 2.78 MB / 0.5644 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/0.8011, allocations: 253.4 kB / 0.5646 GB, free: 126.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8011, allocations: 0 / 0.5646 GB, free: 126.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07211/0.8732, allocations: 63.01 MB / 0.6262 GB, free: 63.29 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/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