Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.4 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.596/1.596, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001621/0.001621, allocations: 114.5 kB / 252.6 MB, free: 4.781 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.2051/0.2051, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.344e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5091, allocations: 95.39 MB / 0.5376 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5094, allocations: 75.14 kB / 0.5377 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2609/0.7702, allocations: 84.7 MB / 0.6204 GB, free: 15.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7703, allocations: 0 / 0.6204 GB, free: 15.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001352/0.7704, allocations: 71.94 kB / 0.6205 GB, free: 15.15 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01072/0.7812, allocations: 3.503 MB / 0.6239 GB, free: 11.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7812, allocations: 12.03 kB / 0.6239 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.7971, allocations: 3.504 MB / 0.6273 GB, free: 8.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.8087, allocations: 4.19 MB / 0.6314 GB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.809, allocations: 295.7 kB / 0.6317 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/0.8113, allocations: 399.8 kB / 0.6321 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.8316, allocations: 9.853 MB / 0.6417 GB, free: 8.836 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.8318, allocations: 27.72 kB / 0.6417 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000649/0.8324, allocations: 175.9 kB / 0.6419 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/0.8341, allocations: 1.164 MB / 0.643 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.8532, allocations: 9.281 MB / 0.6521 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/1.207, allocations: 32.44 MB / 0.6838 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/1.215, allocations: 3.332 MB / 0.687 GB, free: 95.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/1.217, allocations: 1.06 MB / 0.6881 GB, free: 95.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.218, allocations: 1.311 MB / 0.6894 GB, free: 94.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.218, allocations: 50.72 kB / 0.6894 GB, free: 94.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=187): time 5.491e-06/1.218, allocations: 0 / 0.6894 GB, free: 94.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.02269/1.241, allocations: 8.696 MB / 0.6979 GB, free: 92.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.241, allocations: 95.64 kB / 0.698 GB, free: 92.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/1.246, allocations: 2.319 MB / 0.7003 GB, free: 92.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003182/1.246, allocations: 51 kB / 0.7003 GB, free: 92.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.248, allocations: 2.738 MB / 0.703 GB, free: 90.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009682/1.249, allocations: 0.7056 MB / 0.7037 GB, free: 90.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004209/1.25, allocations: 95.19 kB / 0.7038 GB, free: 90.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005758/1.25, allocations: 0.5193 MB / 0.7043 GB, free: 89.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.253, allocations: 1.494 MB / 0.7057 GB, free: 89.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/1.257, allocations: 4.386 MB / 0.71 GB, free: 86.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/1.261, allocations: 2.622 MB / 0.7126 GB, free: 86.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.2e-05/1.261, allocations: 30.08 kB / 0.7126 GB, free: 86.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.009133/1.27, allocations: 5.8 MB / 0.7183 GB, free: 85.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/1.27, allocations: 49.94 kB / 0.7183 GB, free: 85.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/1.27, allocations: 102.6 kB / 0.7184 GB, free: 85.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000466/1.271, allocations: 198.5 kB / 0.7186 GB, free: 85.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/1.274, allocations: 1.087 MB / 0.7197 GB, free: 85.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.276, allocations: 1.667 MB / 0.7213 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/1.28, allocations: 216.4 kB / 0.7215 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/1.281, allocations: 298.3 kB / 0.7218 GB, free: 84.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * Array equations: 6 * 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.001287/1.283, allocations: 486.9 kB / 0.7222 GB, free: 84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006497/1.283, allocations: 250.6 kB / 0.7225 GB, free: 83.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/1.287, allocations: 2.497 MB / 0.7249 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.287, allocations: 22.44 kB / 0.7249 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.287, allocations: 3.562 kB / 0.7249 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.287, allocations: 7.266 kB / 0.7249 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.303, allocations: 8.156 MB / 0.7329 GB, free: 80.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-05/1.304, allocations: 11.53 kB / 0.7329 GB, free: 80.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.305, allocations: 251.7 kB / 0.7332 GB, free: 80.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/1.305, allocations: 61.77 kB / 0.7332 GB, free: 80.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.305, allocations: 40.53 kB / 0.7333 GB, free: 80.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/1.306, allocations: 1.491 MB / 0.7347 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/1.306, allocations: 12.97 kB / 0.7347 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/1.312, allocations: 4.869 MB / 0.7395 GB, free: 76.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.313, allocations: 0.4982 MB / 0.74 GB, free: 76.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/1.314, allocations: 37.55 kB / 0.74 GB, free: 76.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.315, allocations: 67.94 kB / 0.7401 GB, free: 76.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.316, allocations: 124.6 kB / 0.7402 GB, free: 75.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.316, allocations: 64.44 kB / 0.7403 GB, free: 75.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003366/1.319, allocations: 1.581 MB / 0.7418 GB, free: 75.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.319, allocations: 0 / 0.7418 GB, free: 75.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005845/1.325, allocations: 0.8156 MB / 0.7426 GB, free: 75.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0007091/1.326, allocations: 176.8 kB / 0.7428 GB, free: 75.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006294/1.332, allocations: 3.802 MB / 0.7465 GB, free: 73.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.332, allocations: 3.562 kB / 0.7465 GB, free: 73.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.334, allocations: 1.224 MB / 0.7477 GB, free: 73.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.336, allocations: 308.2 kB / 0.748 GB, free: 73.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.353, allocations: 7.142 MB / 0.7549 GB, free: 70.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004467/1.357, allocations: 3.284 MB / 0.7581 GB, free: 68.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004079/1.361, allocations: 1.728 MB / 0.7598 GB, free: 67.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/1.362, allocations: 179.2 kB / 0.76 GB, free: 66.95 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/1.362, allocations: 0 / 0.76 GB, free: 66.95 MB / 474.7 MB Notification: Performance of Templates: time 0.04304/1.405, allocations: 21.9 MB / 0.7814 GB, free: 53.85 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)