Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001547/0.001547, allocations: 165.9 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.292/1.292, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 107.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2658/0.2658, allocations: 37.99 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.452e-05/1.454e-05, allocations: 4.844 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08072, allocations: 48.73 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4526, allocations: 88.01 MB / 486.8 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4529, allocations: 72.8 kB / 486.8 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2/0.653, allocations: 83.15 MB / 0.5566 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.653, allocations: 0 / 0.5566 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001922/0.6532, allocations: 71.94 kB / 0.5567 GB, free: 0.8672 MB / 362.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.01098/0.6642, allocations: 3.514 MB / 0.5601 GB, free: 13.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6643, allocations: 8.031 kB / 0.5601 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.6806, allocations: 3.512 MB / 0.5636 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.6928, allocations: 4.169 MB / 0.5676 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.6931, allocations: 128 kB / 0.5677 GB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002819/0.6959, allocations: 228 kB / 0.568 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01496/0.7109, allocations: 7.021 MB / 0.5748 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.7318, allocations: 9.204 MB / 0.5838 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.7321, allocations: 35.67 kB / 0.5838 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/0.7336, allocations: 15.94 kB / 0.5839 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001921/0.7355, allocations: 1.168 MB / 0.585 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04649/0.782, allocations: 29.7 MB / 0.614 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.7855, allocations: 2.957 MB / 0.6169 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.7869, allocations: 1.034 MB / 0.6179 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2098/0.9967, allocations: 1.309 MB / 0.6192 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.9968, allocations: 46.16 kB / 0.6192 GB, free: 102.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=189): time 6.252e-06/0.9968, allocations: 0 / 0.6192 GB, free: 102.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.0164/1.013, allocations: 8.002 MB / 0.627 GB, free: 100.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/1.013, allocations: 93.23 kB / 0.6271 GB, free: 100.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/1.018, allocations: 2.239 MB / 0.6293 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.018, allocations: 26.27 kB / 0.6293 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.02, allocations: 2.818 MB / 0.6321 GB, free: 99.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/1.021, allocations: 0.7049 MB / 0.6328 GB, free: 98.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/1.021, allocations: 3.969 kB / 0.6328 GB, free: 98.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004215/1.022, allocations: 0.5865 MB / 0.6334 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/1.024, allocations: 1.488 MB / 0.6348 GB, free: 98.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/1.027, allocations: 4.613 MB / 0.6393 GB, free: 94.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.031, allocations: 2.685 MB / 0.6419 GB, free: 94.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-05/1.031, allocations: 34.72 kB / 0.642 GB, free: 94.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.006736/1.037, allocations: 5.494 MB / 0.6473 GB, free: 93.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/1.037, allocations: 52.81 kB / 0.6474 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/1.038, allocations: 111.1 kB / 0.6475 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/1.038, allocations: 204.7 kB / 0.6477 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/1.041, allocations: 1.176 MB / 0.6488 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.042, allocations: 1.631 MB / 0.6504 GB, free: 92.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/1.045, allocations: 129.2 kB / 0.6506 GB, free: 92.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/1.045, allocations: 325.3 kB / 0.6509 GB, free: 92.39 MB / 426.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.0004934/1.045, allocations: 387.6 kB / 0.6512 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.046, allocations: 245.6 kB / 0.6515 GB, free: 91.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/1.049, allocations: 2.435 MB / 0.6538 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/1.049, allocations: 23.64 kB / 0.6539 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.049, allocations: 3.125 kB / 0.6539 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.049, allocations: 6.562 kB / 0.6539 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009399/1.058, allocations: 6.916 MB / 0.6606 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.058, allocations: 10.5 kB / 0.6606 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/1.059, allocations: 259.2 kB / 0.6609 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/1.059, allocations: 60.73 kB / 0.6609 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/1.059, allocations: 26.75 kB / 0.661 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/1.06, allocations: 1.429 MB / 0.6624 GB, free: 89.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/1.06, allocations: 20.2 kB / 0.6624 GB, free: 89.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/1.065, allocations: 4.863 MB / 0.6671 GB, free: 86.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.066, allocations: 0.4953 MB / 0.6676 GB, free: 86.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/1.066, allocations: 18.45 kB / 0.6676 GB, free: 86.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/1.067, allocations: 37.3 kB / 0.6677 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.067, allocations: 126 kB / 0.6678 GB, free: 86.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.067, allocations: 70.77 kB / 0.6679 GB, free: 86.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002124/1.069, allocations: 1.468 MB / 0.6693 GB, free: 86.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.72e-07/1.069, allocations: 0 / 0.6693 GB, free: 86.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004387/1.074, allocations: 0.7122 MB / 0.67 GB, free: 86.01 MB / 426.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.0003635/1.074, allocations: 152.1 kB / 0.6701 GB, free: 85.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004816/1.079, allocations: 3.704 MB / 0.6738 GB, free: 84.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.079, allocations: 2 kB / 0.6738 GB, free: 84.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.08, allocations: 1.196 MB / 0.6749 GB, free: 84.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/1.081, allocations: 212.9 kB / 0.6751 GB, free: 84.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.094, allocations: 7.144 MB / 0.6821 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.096, allocations: 3.277 MB / 0.6853 GB, free: 80.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003842/1.1, allocations: 1.828 MB / 0.6871 GB, free: 80.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.101, allocations: 184.5 kB / 0.6873 GB, free: 80.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/1.101, allocations: 0 / 0.6873 GB, free: 80.08 MB / 426.7 MB Notification: Performance of Templates: time 0.03664/1.138, allocations: 19.06 MB / 0.7059 GB, free: 69.09 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)