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.001405/0.001405, allocations: 179.7 kB / 7.651 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.288/1.288, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001728/0.001728, allocations: 116.6 kB / 247.4 MB, free: 6.215 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.1892/0.1892, allocations: 39.93 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.784e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09166, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4519, allocations: 94.72 MB / 0.5302 GB, free: 5.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.4521, allocations: 69.97 kB / 0.5303 GB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2094/0.6615, allocations: 83.17 MB / 0.6115 GB, free: 10.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6616, allocations: 0 / 0.6115 GB, free: 10.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.6618, allocations: 68 kB / 0.6115 GB, free: 10.02 MB / 426.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.01295/0.6748, allocations: 3.507 MB / 0.615 GB, free: 6.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.6748, allocations: 8.031 kB / 0.615 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/0.692, allocations: 3.504 MB / 0.6184 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.7064, allocations: 4.186 MB / 0.6225 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.7068, allocations: 128 kB / 0.6226 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002738/0.7095, allocations: 224 kB / 0.6228 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01521/0.7248, allocations: 7.033 MB / 0.6297 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02524/0.75, allocations: 9.2 MB / 0.6387 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/0.7504, allocations: 31.7 kB / 0.6387 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/0.7525, allocations: 12 kB / 0.6387 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/0.7549, allocations: 1.168 MB / 0.6398 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3404/1.095, allocations: 29.7 MB / 0.6689 GB, free: 118.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.099, allocations: 2.951 MB / 0.6717 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/1.101, allocations: 1.03 MB / 0.6727 GB, free: 117.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.102, allocations: 1.314 MB / 0.674 GB, free: 116 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.102, allocations: 48.8 kB / 0.6741 GB, free: 116 MB / 474.7 MB Notification: Performance of pre-optimization done (n=189): time 4.639e-06/1.102, allocations: 5.312 kB / 0.6741 GB, free: 116 MB / 474.7 MB Notification: Performance of matching and sorting (n=195): time 0.01759/1.12, allocations: 8.004 MB / 0.6819 GB, free: 114.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/1.12, allocations: 92.77 kB / 0.682 GB, free: 114.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.123, allocations: 2.237 MB / 0.6842 GB, free: 114 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.123, allocations: 25.7 kB / 0.6842 GB, free: 114 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.125, allocations: 2.831 MB / 0.687 GB, free: 112.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006902/1.126, allocations: 0.7008 MB / 0.6876 GB, free: 112.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.126, allocations: 3.812 kB / 0.6876 GB, free: 112.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004202/1.127, allocations: 0.591 MB / 0.6882 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/1.129, allocations: 1.494 MB / 0.6897 GB, free: 111.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/1.132, allocations: 4.604 MB / 0.6942 GB, free: 107.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/1.135, allocations: 2.69 MB / 0.6968 GB, free: 107.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/1.135, allocations: 33.22 kB / 0.6968 GB, free: 107.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.008441/1.143, allocations: 5.49 MB / 0.7022 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/1.143, allocations: 53.03 kB / 0.7022 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.144, allocations: 112.5 kB / 0.7024 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/1.144, allocations: 205.8 kB / 0.7026 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/1.147, allocations: 1.169 MB / 0.7037 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/1.148, allocations: 1.637 MB / 0.7053 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/1.151, allocations: 130.3 kB / 0.7054 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004421/1.152, allocations: 326.1 kB / 0.7057 GB, free: 105.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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 (648): * Single equations (assignments): 641 * 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.0005648/1.152, allocations: 378.7 kB / 0.7061 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/1.153, allocations: 248.1 kB / 0.7063 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.156, allocations: 2.429 MB / 0.7087 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/1.156, allocations: 22.03 kB / 0.7087 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.156, allocations: 3.875 kB / 0.7087 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/1.156, allocations: 14.11 kB / 0.7087 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.167, allocations: 6.915 MB / 0.7155 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.167, allocations: 10.62 kB / 0.7155 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/1.168, allocations: 264 kB / 0.7157 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/1.168, allocations: 61.34 kB / 0.7158 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-05/1.168, allocations: 21.25 kB / 0.7158 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/1.169, allocations: 1.436 MB / 0.7172 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.169, allocations: 15.12 kB / 0.7172 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/1.173, allocations: 4.861 MB / 0.722 GB, free: 99.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.175, allocations: 0.5021 MB / 0.7225 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.175, allocations: 17.58 kB / 0.7225 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/1.176, allocations: 35.55 kB / 0.7225 GB, free: 99.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.176, allocations: 130.8 kB / 0.7227 GB, free: 99.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.176, allocations: 67.44 kB / 0.7227 GB, free: 99.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002076/1.178, allocations: 1.465 MB / 0.7242 GB, free: 98.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.178, allocations: 0 / 0.7242 GB, free: 98.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004449/1.182, allocations: 0.7053 MB / 0.7248 GB, free: 98.97 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.0004406/1.183, allocations: 156.5 kB / 0.725 GB, free: 98.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00487/1.188, allocations: 3.701 MB / 0.7286 GB, free: 97.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.188, allocations: 7.469 kB / 0.7286 GB, free: 97.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.189, allocations: 1.193 MB / 0.7298 GB, free: 97.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/1.191, allocations: 212.6 kB / 0.73 GB, free: 97.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.202, allocations: 7.142 MB / 0.737 GB, free: 94.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.205, allocations: 3.278 MB / 0.7402 GB, free: 91.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003742/1.208, allocations: 1.826 MB / 0.7419 GB, free: 90.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.209, allocations: 183.1 kB / 0.7421 GB, free: 90.29 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/1.209, allocations: 0 / 0.7421 GB, free: 90.29 MB / 474.7 MB Notification: Performance of Templates: time 0.03754/1.246, allocations: 19.06 MB / 0.7607 GB, free: 79.08 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)