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.001357/0.001357, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.265/1.265, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001566/0.001566, allocations: 111.5 kB / 223.2 MB, free: 4.035 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.1865/0.1865, allocations: 37.99 MB / 300.4 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.611e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.08182, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4268, allocations: 88.68 MB / 494.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.427, allocations: 72.97 kB / 494.4 MB, free: 18.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1992/0.6262, allocations: 84.7 MB / 0.5656 GB, free: 6.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6263, allocations: 0 / 0.5656 GB, free: 6.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.6264, allocations: 71.94 kB / 0.5656 GB, free: 5.934 MB / 378.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.009451/0.6359, allocations: 3.511 MB / 0.5691 GB, free: 2.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.6359, allocations: 12.03 kB / 0.5691 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.6514, allocations: 3.512 MB / 0.5725 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6637, allocations: 4.171 MB / 0.5766 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.6641, allocations: 303.7 kB / 0.5769 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.6665, allocations: 391.9 kB / 0.5772 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.69, allocations: 9.854 MB / 0.5869 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.6902, allocations: 27.72 kB / 0.5869 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000876/0.6911, allocations: 179.8 kB / 0.5871 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.6929, allocations: 1.168 MB / 0.5882 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0195/0.7124, allocations: 9.273 MB / 0.5973 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3052/1.018, allocations: 32.44 MB / 0.6289 GB, free: 80.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005677/1.023, allocations: 3.34 MB / 0.6322 GB, free: 79.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.025, allocations: 1.059 MB / 0.6332 GB, free: 79.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/1.026, allocations: 1.314 MB / 0.6345 GB, free: 77.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.026, allocations: 50.55 kB / 0.6346 GB, free: 77.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 4.117e-06/1.026, allocations: 0 / 0.6346 GB, free: 77.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.02042/1.047, allocations: 8.686 MB / 0.6431 GB, free: 76.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.047, allocations: 97.58 kB / 0.6431 GB, free: 76.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/1.05, allocations: 2.32 MB / 0.6454 GB, free: 75.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/1.05, allocations: 52.52 kB / 0.6455 GB, free: 75.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.052, allocations: 2.732 MB / 0.6481 GB, free: 74.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005728/1.053, allocations: 0.711 MB / 0.6488 GB, free: 74.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.053, allocations: 93.84 kB / 0.6489 GB, free: 74.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002745/1.053, allocations: 0.5166 MB / 0.6494 GB, free: 73.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.055, allocations: 1.503 MB / 0.6509 GB, free: 73.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/1.058, allocations: 4.376 MB / 0.6552 GB, free: 69.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/1.061, allocations: 2.627 MB / 0.6577 GB, free: 69.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.891e-05/1.061, allocations: 30.12 kB / 0.6578 GB, free: 69.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.007619/1.068, allocations: 5.8 MB / 0.6634 GB, free: 69.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.068, allocations: 49.62 kB / 0.6635 GB, free: 69.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.539e-05/1.069, allocations: 103.4 kB / 0.6636 GB, free: 69.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/1.069, allocations: 189.3 kB / 0.6637 GB, free: 69.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.072, allocations: 1.09 MB / 0.6648 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/1.073, allocations: 1.668 MB / 0.6664 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.075, allocations: 215.2 kB / 0.6666 GB, free: 68.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.076, allocations: 305.6 kB / 0.6669 GB, free: 68.09 MB / 426.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.0005299/1.076, allocations: 473 kB / 0.6674 GB, free: 67.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.077, allocations: 254.3 kB / 0.6676 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/1.08, allocations: 2.504 MB / 0.6701 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.08, allocations: 22.09 kB / 0.6701 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.08, allocations: 6.906 kB / 0.6701 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.08, allocations: 6.328 kB / 0.6701 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/1.091, allocations: 8.147 MB / 0.6781 GB, free: 65.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.091, allocations: 25.58 kB / 0.6781 GB, free: 65.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009176/1.092, allocations: 251.1 kB / 0.6783 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/1.092, allocations: 57.69 kB / 0.6784 GB, free: 65.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/1.092, allocations: 41.36 kB / 0.6784 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.093, allocations: 1.487 MB / 0.6799 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.093, allocations: 14.81 kB / 0.6799 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/1.097, allocations: 4.87 MB / 0.6846 GB, free: 60.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.098, allocations: 0.5058 MB / 0.6851 GB, free: 60.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.099, allocations: 39.27 kB / 0.6852 GB, free: 60.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/1.099, allocations: 61.3 kB / 0.6852 GB, free: 60.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.1, allocations: 123.8 kB / 0.6854 GB, free: 60.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.1, allocations: 68.08 kB / 0.6854 GB, free: 60.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001942/1.102, allocations: 1.582 MB / 0.687 GB, free: 60.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.102, allocations: 0 / 0.687 GB, free: 60.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003634/1.105, allocations: 0.8132 MB / 0.6878 GB, free: 59.92 MB / 426.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.0003253/1.106, allocations: 172.2 kB / 0.6879 GB, free: 59.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004335/1.11, allocations: 3.798 MB / 0.6916 GB, free: 58.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.11, allocations: 3.625 kB / 0.6916 GB, free: 58.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.111, allocations: 1.231 MB / 0.6928 GB, free: 58.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.112, allocations: 308 kB / 0.6931 GB, free: 57.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/1.123, allocations: 7.142 MB / 0.7001 GB, free: 54.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/1.126, allocations: 3.279 MB / 0.7033 GB, free: 52.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003649/1.13, allocations: 1.724 MB / 0.705 GB, free: 51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/1.13, allocations: 186.1 kB / 0.7052 GB, free: 50.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.13, allocations: 0 / 0.7052 GB, free: 50.82 MB / 426.7 MB Notification: Performance of Templates: time 0.0406/1.171, allocations: 21.9 MB / 0.7266 GB, free: 38.13 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)