Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00194/0.00194, allocations: 178.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 90.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2679, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0246/0.2926, allocations: 31.38 MB / 405.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3105, allocations: 7.44 MB / 413.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.3163, allocations: 147.6 kB / 413.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.3199, allocations: 1.567 MB / 415.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.3316, allocations: 4.852 MB / 419.9 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.3334, allocations: 0.5031 MB / 420.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004611/0.3381, allocations: 3.791 MB / 424.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004756/0.3428, allocations: 2.959 MB / 427.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.3452, allocations: 1.043 MB / 428.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.3481, allocations: 1.6 MB / 429.8 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006783/0.3488, allocations: 112 kB / 429.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.3508, allocations: 0.7996 MB / 430.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.3521, allocations: 1.395 MB / 432.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.3529, allocations: 0.6987 MB / 432.8 MB, free: 6.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.357, allocations: 4.439 MB / 437.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.357, allocations: 0 / 437.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.357, allocations: 0 / 437.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.453e-05/0.3571, allocations: 4 kB / 437.3 MB, free: 1.906 MB / 314.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.005402/0.3625, allocations: 3.351 MB / 440.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3625, allocations: 12.03 kB / 440.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005694/0.3682, allocations: 1.824 MB / 442.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.3717, allocations: 1.916 MB / 444.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3719, allocations: 192.8 kB / 444.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004571/0.3724, allocations: 267.7 kB / 444.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.3868, allocations: 8.416 MB / 453.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.387, allocations: 39.59 kB / 453.3 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.3874, allocations: 123.9 kB / 453.4 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.3904, allocations: 1.695 MB / 455.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.4059, allocations: 7.079 MB / 462.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.4549, allocations: 34.13 MB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/0.4629, allocations: 3.275 MB / 499.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.4653, allocations: 1.452 MB / 0.4893 GB, free: 176 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2773/0.7427, allocations: 4.375 MB / 0.4936 GB, free: 108 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.7428, allocations: 50.62 kB / 0.4936 GB, free: 108 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 4.949e-06/0.7428, allocations: 3.344 kB / 0.4936 GB, free: 108 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.02781/0.7706, allocations: 11.49 MB / 0.5048 GB, free: 103.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.7707, allocations: 144.2 kB / 0.505 GB, free: 103.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004459/0.7752, allocations: 3.708 MB / 0.5086 GB, free: 101.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.7753, allocations: 48.08 kB / 0.5086 GB, free: 101.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.7768, allocations: 2.75 MB / 0.5113 GB, free: 98.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.7772, allocations: 0.5199 MB / 0.5118 GB, free: 98.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.7774, allocations: 109.4 kB / 0.5119 GB, free: 98.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.7776, allocations: 0.5316 MB / 0.5125 GB, free: 97.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.7795, allocations: 1.681 MB / 0.5141 GB, free: 96.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.7827, allocations: 5.109 MB / 0.5191 GB, free: 89.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.7857, allocations: 2.87 MB / 0.5219 GB, free: 86.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/0.7858, allocations: 36 kB / 0.5219 GB, free: 86.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009494/0.7953, allocations: 6.679 MB / 0.5285 GB, free: 80.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.7954, allocations: 59.95 kB / 0.5285 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.791e-05/0.7955, allocations: 124 kB / 0.5286 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.7961, allocations: 340.6 kB / 0.529 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.7994, allocations: 1.244 MB / 0.5302 GB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.8014, allocations: 2.289 MB / 0.5324 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/0.8055, allocations: 292.8 kB / 0.5327 GB, free: 75.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005216/0.806, allocations: 332 kB / 0.533 GB, free: 75.34 MB / 378.7 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 (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.003025/0.809, allocations: 1.792 MB / 0.5347 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.8098, allocations: 308 kB / 0.535 GB, free: 73.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/0.8139, allocations: 2.362 MB / 0.5373 GB, free: 70.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.814, allocations: 17.33 kB / 0.5374 GB, free: 70.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.814, allocations: 4 kB / 0.5374 GB, free: 70.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.814, allocations: 9.062 kB / 0.5374 GB, free: 70.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.8247, allocations: 5.919 MB / 0.5432 GB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.8248, allocations: 3.938 kB / 0.5432 GB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.8256, allocations: 179.8 kB / 0.5433 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.8275, allocations: 0.7068 MB / 0.544 GB, free: 63.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.8277, allocations: 25.64 kB / 0.544 GB, free: 63.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.8326, allocations: 4.463 MB / 0.5484 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.8326, allocations: 64 / 0.5484 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/0.8386, allocations: 4.314 MB / 0.5526 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.8401, allocations: 0.5321 MB / 0.5531 GB, free: 54.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.8405, allocations: 25.09 kB / 0.5532 GB, free: 54.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8415, allocations: 67.86 kB / 0.5532 GB, free: 54.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.8417, allocations: 68.56 kB / 0.5533 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.8418, allocations: 34.69 kB / 0.5533 GB, free: 54.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003252/0.845, allocations: 2.315 MB / 0.5556 GB, free: 51.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8451, allocations: 0 / 0.5556 GB, free: 51.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004718/0.8498, allocations: 0.819 MB / 0.5564 GB, free: 51.16 MB / 378.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.0004516/0.8502, allocations: 154.5 kB / 0.5565 GB, free: 51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.8564, allocations: 4.007 MB / 0.5604 GB, free: 47.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8564, allocations: 0.75 kB / 0.5604 GB, free: 47.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.8578, allocations: 1.102 MB / 0.5615 GB, free: 45.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8603, allocations: 376.5 kB / 0.5619 GB, free: 45.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.8744, allocations: 9.019 MB / 0.5707 GB, free: 36.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.8767, allocations: 2.793 MB / 0.5734 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.8777, allocations: 243.4 kB / 0.5737 GB, free: 33.42 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.8777, allocations: 4 kB / 0.5737 GB, free: 33.42 MB / 378.7 MB Notification: Performance of Templates: time 0.09234/0.9701, allocations: 63.48 MB / 0.6357 GB, free: 1.816 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches