Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001076/0.001076, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.364/1.364, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 115.9 kB / 247.4 MB, free: 6.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.183/0.183, allocations: 39.95 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.606e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.09881, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4698, allocations: 96.17 MB / 0.5316 GB, free: 4.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.47, allocations: 74.08 kB / 0.5317 GB, free: 3.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.6316, allocations: 62.82 MB / 0.593 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6317, allocations: 0 / 0.593 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.6319, allocations: 68 kB / 0.5931 GB, free: 13.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01535/0.6473, allocations: 3.355 MB / 0.5964 GB, free: 9.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.6474, allocations: 12.03 kB / 0.5964 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.6634, allocations: 2.027 MB / 0.5984 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007392/0.6708, allocations: 1.935 MB / 0.6002 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.6711, allocations: 120 kB / 0.6004 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/0.6727, allocations: 215.9 kB / 0.6006 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01659/0.6893, allocations: 5.617 MB / 0.6061 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.7063, allocations: 8.527 MB / 0.6144 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.7065, allocations: 51.55 kB / 0.6144 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/0.7069, allocations: 28 kB / 0.6145 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00137/0.7082, allocations: 0.9823 MB / 0.6154 GB, free: 5.203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04361/0.7519, allocations: 41.96 MB / 0.6564 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/0.7564, allocations: 3.312 MB / 0.6596 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.759, allocations: 2.153 MB / 0.6617 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.7596, allocations: 380.5 kB / 0.6621 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.7596, allocations: 56.09 kB / 0.6621 GB, free: 3.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=169): time 3.878e-06/0.7597, allocations: 3.938 kB / 0.6621 GB, free: 3.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=214): time 0.2853/1.045, allocations: 20.83 MB / 0.6825 GB, free: 124.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.045, allocations: 183.2 kB / 0.6827 GB, free: 124.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/1.05, allocations: 2.346 MB / 0.685 GB, free: 124.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005486/1.051, allocations: 25.7 kB / 0.685 GB, free: 124.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.053, allocations: 2.639 MB / 0.6876 GB, free: 123 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.054, allocations: 0.7731 MB / 0.6883 GB, free: 122.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/1.054, allocations: 3.031 kB / 0.6883 GB, free: 122.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000378/1.054, allocations: 0.601 MB / 0.6889 GB, free: 122.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/1.057, allocations: 2.415 MB / 0.6913 GB, free: 122.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/1.061, allocations: 5.709 MB / 0.6968 GB, free: 117.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/1.066, allocations: 3.701 MB / 0.7004 GB, free: 117.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.035e-05/1.066, allocations: 33.97 kB / 0.7005 GB, free: 117.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01334/1.079, allocations: 8.174 MB / 0.7085 GB, free: 115.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/1.079, allocations: 61.8 kB / 0.7085 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002989/1.08, allocations: 118.3 kB / 0.7086 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/1.082, allocations: 1.045 MB / 0.7097 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/1.087, allocations: 1.37 MB / 0.711 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/1.092, allocations: 5.066 MB / 0.7159 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/1.096, allocations: 212.4 kB / 0.7161 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.098, allocations: 347.7 kB / 0.7165 GB, free: 111.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001607/1.099, allocations: 406 kB / 0.7169 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/1.1, allocations: 267.8 kB / 0.7171 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007149/1.107, allocations: 4.304 MB / 0.7213 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/1.107, allocations: 25.06 kB / 0.7213 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/1.107, allocations: 6.922 kB / 0.7214 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.107, allocations: 12.98 kB / 0.7214 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.125, allocations: 9.155 MB / 0.7303 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.125, allocations: 3.047 kB / 0.7303 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.127, allocations: 381.5 kB / 0.7307 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/1.129, allocations: 0.8601 MB / 0.7315 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/1.13, allocations: 11.17 kB / 0.7315 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/1.133, allocations: 4.444 MB / 0.7359 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.133, allocations: 4.031 kB / 0.7359 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009417/1.143, allocations: 7.751 MB / 0.7434 GB, free: 94.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.144, allocations: 0.706 MB / 0.7441 GB, free: 93.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006323/1.145, allocations: 3.953 kB / 0.7441 GB, free: 93.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.147, allocations: 96.02 kB / 0.7442 GB, free: 93.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/1.147, allocations: 127 kB / 0.7443 GB, free: 93.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.147, allocations: 62.27 kB / 0.7444 GB, free: 93.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002687/1.15, allocations: 1.526 MB / 0.7459 GB, free: 92.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.15, allocations: 0 / 0.7459 GB, free: 92.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005058/1.155, allocations: 0.8038 MB / 0.7467 GB, free: 91.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete 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): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004738/1.156, allocations: 142.5 kB / 0.7468 GB, free: 91.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009277/1.165, allocations: 6.259 MB / 0.7529 GB, free: 85.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.165, allocations: 0 / 0.7529 GB, free: 85.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.168, allocations: 2.692 MB / 0.7556 GB, free: 82.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.17, allocations: 203.5 kB / 0.7557 GB, free: 82.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.183, allocations: 7.609 MB / 0.7632 GB, free: 75.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/1.186, allocations: 2.933 MB / 0.766 GB, free: 73.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004605/1.191, allocations: 1.933 MB / 0.7679 GB, free: 72.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009632/1.192, allocations: 214.6 kB / 0.7681 GB, free: 72.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/1.192, allocations: 0 / 0.7681 GB, free: 72.25 MB / 474.7 MB Notification: Performance of Templates: time 0.04825/1.24, allocations: 31.48 MB / 0.7989 GB, free: 43.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)