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.001479/0.001479, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.423/1.423, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001616/0.001616, allocations: 105.8 kB / 252.6 MB, free: 4.859 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.2076/0.2076, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.808e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4624/0.5763, allocations: 96.84 MB / 0.539 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5766, allocations: 77.95 kB / 0.5391 GB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1645/0.7411, allocations: 64.54 MB / 0.6021 GB, free: 2.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7412, allocations: 0 / 0.6021 GB, free: 2.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.7413, allocations: 68 kB / 0.6022 GB, free: 2.094 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.01109/0.7524, allocations: 3.367 MB / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.7525, allocations: 12.03 kB / 0.6055 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/0.7614, allocations: 2.019 MB / 0.6075 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006114/0.7675, allocations: 1.935 MB / 0.6094 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.7679, allocations: 283.2 kB / 0.6096 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.7697, allocations: 367.8 kB / 0.61 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02457/0.7943, allocations: 10.38 MB / 0.6201 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.7946, allocations: 51.47 kB / 0.6202 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009035/0.7955, allocations: 179.9 kB / 0.6203 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001446/0.797, allocations: 0.9822 MB / 0.6213 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.8184, allocations: 8.889 MB / 0.63 GB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4188/1.237, allocations: 43.33 MB / 0.6723 GB, free: 94.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.249, allocations: 3.978 MB / 0.6762 GB, free: 93.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/1.254, allocations: 2.213 MB / 0.6783 GB, free: 93.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/1.265, allocations: 5.116 MB / 0.6833 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/1.266, allocations: 55.98 kB / 0.6834 GB, free: 92.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=161): time 8.917e-06/1.266, allocations: 0 / 0.6834 GB, free: 92.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=204): time 0.06034/1.326, allocations: 21.12 MB / 0.704 GB, free: 89.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/1.326, allocations: 157.8 kB / 0.7042 GB, free: 89.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.33, allocations: 2.784 MB / 0.7069 GB, free: 89.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004684/1.331, allocations: 51.45 kB / 0.7069 GB, free: 89.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/1.332, allocations: 2.59 MB / 0.7095 GB, free: 87.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/1.333, allocations: 0.7688 MB / 0.7102 GB, free: 87.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/1.333, allocations: 115.4 kB / 0.7103 GB, free: 87.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/1.334, allocations: 0.5351 MB / 0.7109 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/1.336, allocations: 2.418 MB / 0.7132 GB, free: 86.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/1.341, allocations: 5.599 MB / 0.7187 GB, free: 81.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/1.345, allocations: 3.666 MB / 0.7223 GB, free: 80.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.405e-05/1.345, allocations: 32.81 kB / 0.7223 GB, free: 80.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.01333/1.359, allocations: 8.636 MB / 0.7307 GB, free: 77.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/1.359, allocations: 49.78 kB / 0.7308 GB, free: 77.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/1.359, allocations: 114.4 kB / 0.7309 GB, free: 77.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/1.361, allocations: 1.054 MB / 0.7319 GB, free: 77.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.366, allocations: 1.306 MB / 0.7332 GB, free: 77.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/1.37, allocations: 5.363 MB / 0.7384 GB, free: 73.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.375, allocations: 316.8 kB / 0.7387 GB, free: 73.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008191/1.375, allocations: 335.4 kB / 0.739 GB, free: 73.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (686): * Single equations (assignments): 679 * 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.0008652/1.376, allocations: 0.5102 MB / 0.7395 GB, free: 72.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/1.377, allocations: 291.2 kB / 0.7398 GB, free: 72.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/1.384, allocations: 4.338 MB / 0.7441 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/1.384, allocations: 27.09 kB / 0.7441 GB, free: 68.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.384, allocations: 15.45 kB / 0.7441 GB, free: 68.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.384, allocations: 6.562 kB / 0.7441 GB, free: 68.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.398, allocations: 9.317 MB / 0.7532 GB, free: 61.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.398, allocations: 4 kB / 0.7532 GB, free: 61.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.4, allocations: 364 kB / 0.7536 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/1.402, allocations: 0.8658 MB / 0.7544 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000254/1.403, allocations: 39.27 kB / 0.7544 GB, free: 60.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/1.407, allocations: 4.724 MB / 0.759 GB, free: 55.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.407, allocations: 4.031 kB / 0.7591 GB, free: 55.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/1.416, allocations: 7.616 MB / 0.7665 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.418, allocations: 0.7267 MB / 0.7672 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/1.418, allocations: 39.28 kB / 0.7672 GB, free: 48.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.419, allocations: 116.9 kB / 0.7673 GB, free: 47.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/1.42, allocations: 115.1 kB / 0.7675 GB, free: 47.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.42, allocations: 57.45 kB / 0.7675 GB, free: 47.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002728/1.423, allocations: 1.918 MB / 0.7694 GB, free: 46.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.423, allocations: 0 / 0.7694 GB, free: 46.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004876/1.428, allocations: 0.9345 MB / 0.7703 GB, free: 45.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (171): * Single equations (assignments): 164 * 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.0004628/1.428, allocations: 171.9 kB / 0.7705 GB, free: 45.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009362/1.437, allocations: 6.323 MB / 0.7766 GB, free: 39.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.438, allocations: 4 kB / 0.7766 GB, free: 39.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/1.442, allocations: 2.664 MB / 0.7792 GB, free: 36.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.444, allocations: 275.3 kB / 0.7795 GB, free: 36.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.458, allocations: 7.546 MB / 0.7869 GB, free: 29.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/1.461, allocations: 2.936 MB / 0.7897 GB, free: 27.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004809/1.466, allocations: 1.85 MB / 0.7915 GB, free: 25.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.467, allocations: 223.4 kB / 0.7918 GB, free: 24.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.543e-06/1.467, allocations: 3.938 kB / 0.7918 GB, free: 24.96 MB / 474.7 MB Notification: Performance of Templates: time 0.06169/1.529, allocations: 34.51 MB / 0.8255 GB, free: 7.047 MB / 490.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)