Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 176.6 kB / 7.652 MB, free: 1.426 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.45/1.45, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001739/0.001739, allocations: 110.6 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1925/0.1925, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.906e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.6876, allocations: 99.09 MB / 0.5345 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6879, allocations: 73.22 kB / 0.5345 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2565/0.9444, allocations: 114.5 MB / 0.6464 GB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9445, allocations: 0 / 0.6464 GB, free: 9.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.9447, allocations: 92 kB / 0.6464 GB, free: 9.16 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.0153/0.96, allocations: 4.452 MB / 0.6508 GB, free: 4.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.9601, allocations: 8.031 kB / 0.6508 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.9765, allocations: 3.655 MB / 0.6544 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.991, allocations: 4.796 MB / 0.659 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.9913, allocations: 164 kB / 0.6592 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/0.9941, allocations: 291.9 kB / 0.6595 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01662/1.011, allocations: 8.451 MB / 0.6677 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/1.036, allocations: 11.2 MB / 0.6787 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/1.037, allocations: 35.64 kB / 0.6787 GB, free: 7.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006285/1.037, allocations: 16 kB / 0.6787 GB, free: 7.426 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/1.039, allocations: 1.393 MB / 0.6801 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3809/1.42, allocations: 39.72 MB / 0.7189 GB, free: 78.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/1.425, allocations: 4.377 MB / 0.7231 GB, free: 76.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/1.428, allocations: 2.368 MB / 0.7255 GB, free: 76.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.429, allocations: 1.32 MB / 0.7267 GB, free: 75.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.43, allocations: 53.56 kB / 0.7268 GB, free: 75.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=252): time 4.949e-06/1.43, allocations: 0 / 0.7268 GB, free: 75.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=271): time 0.03491/1.464, allocations: 18.89 MB / 0.7452 GB, free: 73.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/1.465, allocations: 100 kB / 0.7453 GB, free: 73.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/1.469, allocations: 2.649 MB / 0.7479 GB, free: 73.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.469, allocations: 25.7 kB / 0.7479 GB, free: 73.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.471, allocations: 3.366 MB / 0.7512 GB, free: 71.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.472, allocations: 0.9659 MB / 0.7522 GB, free: 70.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.472, allocations: 0 / 0.7522 GB, free: 70.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003084/1.473, allocations: 0.5948 MB / 0.7528 GB, free: 70.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/1.476, allocations: 2.395 MB / 0.7551 GB, free: 70.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/1.481, allocations: 6.012 MB / 0.761 GB, free: 65.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004892/1.486, allocations: 3.82 MB / 0.7647 GB, free: 64.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.639e-05/1.486, allocations: 38.31 kB / 0.7647 GB, free: 64.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01553/1.501, allocations: 8.574 MB / 0.7731 GB, free: 61.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/1.501, allocations: 60.5 kB / 0.7732 GB, free: 61.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.501, allocations: 131.4 kB / 0.7733 GB, free: 61.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.504, allocations: 1.072 MB / 0.7743 GB, free: 61.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005041/1.509, allocations: 1.489 MB / 0.7758 GB, free: 61.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/1.516, allocations: 4.867 MB / 0.7805 GB, free: 59.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/1.521, allocations: 223.3 kB / 0.7808 GB, free: 59.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008987/1.522, allocations: 381.5 kB / 0.7811 GB, free: 59.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (797): * Single equations (assignments): 790 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001011/1.523, allocations: 444.3 kB / 0.7815 GB, free: 58.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/1.523, allocations: 311 kB / 0.7818 GB, free: 58.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007704/1.531, allocations: 5.187 MB / 0.7869 GB, free: 55.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/1.531, allocations: 50 kB / 0.787 GB, free: 55.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.531, allocations: 0 / 0.787 GB, free: 55.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.531, allocations: 13.89 kB / 0.787 GB, free: 55.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.55, allocations: 12.03 MB / 0.7987 GB, free: 45.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.55, allocations: 12 kB / 0.7987 GB, free: 45.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.552, allocations: 424.3 kB / 0.7991 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/1.554, allocations: 0.879 MB / 0.8 GB, free: 44.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.554, allocations: 27.33 kB / 0.8 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004751/1.559, allocations: 4.224 MB / 0.8041 GB, free: 40.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.559, allocations: 19.88 kB / 0.8042 GB, free: 40.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.569, allocations: 8.968 MB / 0.8129 GB, free: 32.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.571, allocations: 0.722 MB / 0.8136 GB, free: 31.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/1.571, allocations: 19.8 kB / 0.8136 GB, free: 31.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.573, allocations: 107.6 kB / 0.8137 GB, free: 31.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/1.573, allocations: 170.8 kB / 0.8139 GB, free: 31.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.573, allocations: 79.56 kB / 0.814 GB, free: 31.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002617/1.576, allocations: 1.729 MB / 0.8157 GB, free: 29.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.576, allocations: 0 / 0.8157 GB, free: 29.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006295/1.582, allocations: 0.9802 MB / 0.8166 GB, free: 28.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 205 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000585/1.583, allocations: 167.7 kB / 0.8168 GB, free: 28.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007885/1.591, allocations: 5.817 MB / 0.8225 GB, free: 23.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.591, allocations: 0 / 0.8225 GB, free: 23.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.593, allocations: 2.185 MB / 0.8246 GB, free: 21.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.595, allocations: 275.7 kB / 0.8249 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.611, allocations: 9.707 MB / 0.8343 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.614, allocations: 3.913 MB / 0.8382 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004827/1.619, allocations: 2.3 MB / 0.8404 GB, free: 8.121 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/1.62, allocations: 240.6 kB / 0.8406 GB, free: 7.898 MB / 458.7 MB Notification: Performance of SimCode: time 1.953e-06/1.62, allocations: 3.938 kB / 0.8406 GB, free: 7.895 MB / 458.7 MB Notification: Performance of Templates: time 0.05723/1.677, allocations: 30.87 MB / 0.8708 GB, free: 12.27 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)