Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 174.5 kB / 16.72 MB, free: 4.961 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.459/1.459, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007175/0.0007176, allocations: 92.97 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 16 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.02813/0.2455, allocations: 42.55 MB / 417.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.2682, allocations: 9.454 MB / 427.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01065/0.2789, allocations: 199.5 kB / 427.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009245/0.2882, allocations: 2.185 MB / 429.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0243/0.3126, allocations: 6.611 MB / 436.1 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.3169, allocations: 0.7411 MB / 436.8 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.3275, allocations: 5.263 MB / 442.1 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.3386, allocations: 4.762 MB / 446.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.3434, allocations: 1.397 MB / 448.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/0.3481, allocations: 2.189 MB / 450.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.3495, allocations: 164 kB / 450.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.3529, allocations: 1.131 MB / 451.7 MB, free: 3.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.3558, allocations: 1.878 MB / 453.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003701/0.3595, allocations: 2.079 MB / 455.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.3671, allocations: 5.71 MB / 461.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3671, allocations: 0 / 461.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3671, allocations: 4 kB / 461.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003401/0.3675, allocations: 0 / 461.4 MB, free: 10.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01009/0.3776, allocations: 4.334 MB / 465.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3776, allocations: 12.03 kB / 465.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008038/0.3857, allocations: 2.163 MB / 467.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.3913, allocations: 2.587 MB / 470.5 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.3916, allocations: 274.8 kB / 470.8 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.3931, allocations: 435.6 kB / 471.2 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/0.4172, allocations: 12.22 MB / 483.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.4174, allocations: 55.52 kB / 483.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005388/0.4179, allocations: 171.8 kB / 483.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003157/0.4211, allocations: 2.166 MB / 485.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.4424, allocations: 10.19 MB / 496 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2192/0.6617, allocations: 44.31 MB / 0.5276 GB, free: 74.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009646/0.6714, allocations: 4.608 MB / 0.5321 GB, free: 72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.6734, allocations: 1.716 MB / 0.5338 GB, free: 71.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.6838, allocations: 8.23 MB / 0.5418 GB, free: 63.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6839, allocations: 63.8 kB / 0.5419 GB, free: 63.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 5.841e-06/0.6839, allocations: 3.984 kB / 0.5419 GB, free: 63.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.034/0.7179, allocations: 15.95 MB / 0.5575 GB, free: 47.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009062/0.7189, allocations: 1.601 MB / 0.559 GB, free: 45.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/0.7237, allocations: 4.195 MB / 0.5631 GB, free: 41.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004158/0.7241, allocations: 53.7 kB / 0.5632 GB, free: 41.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.7257, allocations: 3.4 MB / 0.5665 GB, free: 37.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007909/0.7265, allocations: 0.811 MB / 0.5673 GB, free: 36.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7268, allocations: 132.6 kB / 0.5674 GB, free: 36.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.727, allocations: 0.5875 MB / 0.568 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.7299, allocations: 2.242 MB / 0.5702 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/0.7341, allocations: 6.375 MB / 0.5764 GB, free: 25.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.7422, allocations: 9.286 MB / 0.5855 GB, free: 14.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/0.7424, allocations: 40 kB / 0.5855 GB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02081/0.7632, allocations: 10.01 MB / 0.5953 GB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.7633, allocations: 68 kB / 0.5954 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009884/0.7732, allocations: 3.785 MB / 0.599 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.7835, allocations: 2.172 MB / 0.6012 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/0.789, allocations: 1.595 MB / 0.6027 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008817/0.7978, allocations: 6.047 MB / 0.6086 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005202/0.8031, allocations: 423.4 kB / 0.609 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.8042, allocations: 416 kB / 0.6094 GB, free: 5.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004388/0.8086, allocations: 2.221 MB / 0.6116 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/0.8095, allocations: 371.1 kB / 0.612 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006626/0.8161, allocations: 3.289 MB / 0.6152 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005244/0.8214, allocations: 2.734 MB / 0.6178 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.8215, allocations: 4 kB / 0.6178 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.8215, allocations: 11.97 kB / 0.6179 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.8405, allocations: 10.34 MB / 0.628 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/0.8405, allocations: 12.19 kB / 0.628 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.842, allocations: 371.4 kB / 0.6283 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/0.8449, allocations: 0.9902 MB / 0.6293 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.8451, allocations: 59.97 kB / 0.6293 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/0.8505, allocations: 4.597 MB / 0.6338 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001076/0.8517, allocations: 1.47 MB / 0.6353 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.8618, allocations: 5.897 MB / 0.641 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.8637, allocations: 0.6639 MB / 0.6417 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/0.8643, allocations: 55.98 kB / 0.6417 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.8659, allocations: 159.4 kB / 0.6419 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.8663, allocations: 168.4 kB / 0.642 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.8664, allocations: 75.97 kB / 0.6421 GB, free: 2.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00433/0.8708, allocations: 2.586 MB / 0.6446 GB, free: 396 kB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8708, allocations: 4 kB / 0.6446 GB, free: 392 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.1877/1.058, allocations: 1.157 MB / 0.6458 GB, free: 141.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006035/1.059, allocations: 221.5 kB / 0.646 GB, free: 141.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.07, allocations: 5.942 MB / 0.6518 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/1.07, allocations: 2.25 kB / 0.6518 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004017/1.074, allocations: 2.19 MB / 0.6539 GB, free: 139.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009874/1.084, allocations: 497.5 kB / 0.6544 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.102, allocations: 13.09 MB / 0.6672 GB, free: 131.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/1.106, allocations: 3.455 MB / 0.6706 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.107, allocations: 331.4 kB / 0.6709 GB, free: 130.3 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/1.107, allocations: 0 / 0.6709 GB, free: 130.3 MB / 426.7 MB Notification: Performance of Templates: time 0.3049/1.412, allocations: 140.6 MB / 0.8082 GB, free: 150.2 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches