Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.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.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001415/0.001415, allocations: 160.8 kB / 7.636 MB, free: 1.441 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.304/1.304, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001659/0.001659, allocations: 108.2 kB / 218 MB, free: 15.34 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.1732/0.1732, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.461e-05, allocations: 0 / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 48.69 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4085, allocations: 92.21 MB / 490.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4088, allocations: 80.69 kB / 491 MB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6345/1.043, allocations: 139.8 MB / 0.616 GB, free: 81.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.043, allocations: 0 / 0.616 GB, free: 81.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003792/1.044, allocations: 142.1 kB / 0.6161 GB, free: 81.48 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.02024/1.064, allocations: 6.832 MB / 0.6228 GB, free: 76.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.064, allocations: 8.031 kB / 0.6228 GB, free: 76.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/1.099, allocations: 9.542 MB / 0.6321 GB, free: 66.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.119, allocations: 8.824 MB / 0.6407 GB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/1.119, allocations: 235.9 kB / 0.641 GB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/1.123, allocations: 419.8 kB / 0.6414 GB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01763/1.141, allocations: 9.42 MB / 0.6506 GB, free: 48.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.167, allocations: 14.57 MB / 0.6648 GB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/1.167, allocations: 91.12 kB / 0.6649 GB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/1.168, allocations: 44 kB / 0.6649 GB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/1.17, allocations: 1.538 MB / 0.6664 GB, free: 30.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3379/1.508, allocations: 69.39 MB / 0.7342 GB, free: 48.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/1.514, allocations: 4.626 MB / 0.7387 GB, free: 47.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00385/1.518, allocations: 3.004 MB / 0.7416 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.519, allocations: 50.44 kB / 0.7417 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.519, allocations: 68.55 kB / 0.7418 GB, free: 47.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 5.43e-06/1.519, allocations: 0 / 0.7418 GB, free: 47.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.04296/1.562, allocations: 24.43 MB / 0.7656 GB, free: 42.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/1.562, allocations: 262.7 kB / 0.7659 GB, free: 41.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008886/1.571, allocations: 4.921 MB / 0.7707 GB, free: 39.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006686/1.571, allocations: 28.92 kB / 0.7707 GB, free: 39.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003481/1.575, allocations: 5.131 MB / 0.7757 GB, free: 36.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.576, allocations: 1.002 MB / 0.7767 GB, free: 35.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/1.577, allocations: 0 / 0.7767 GB, free: 35.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004082/1.577, allocations: 0.6832 MB / 0.7774 GB, free: 34.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/1.58, allocations: 2.782 MB / 0.7801 GB, free: 33.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005612/1.586, allocations: 8.238 MB / 0.7881 GB, free: 25.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006356/1.592, allocations: 4.733 MB / 0.7927 GB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/1.593, allocations: 58.34 kB / 0.7928 GB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.02111/1.614, allocations: 10.41 MB / 0.803 GB, free: 20.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.614, allocations: 91.81 kB / 0.803 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003765/1.614, allocations: 199.4 kB / 0.8032 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/1.617, allocations: 0.8372 MB / 0.8041 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007246/1.624, allocations: 2.069 MB / 0.8061 GB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/1.632, allocations: 8.201 MB / 0.8141 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00838/1.64, allocations: 311.4 kB / 0.8144 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/1.643, allocations: 0.5363 MB / 0.8149 GB, free: 8.957 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 891 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1099): * Single equations (assignments): 1093 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003461/1.646, allocations: 0.5921 MB / 0.8155 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/1.648, allocations: 0.5168 MB / 0.816 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/1.657, allocations: 4.213 MB / 0.8201 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/1.657, allocations: 28 kB / 0.8201 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.657, allocations: 8 kB / 0.8201 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/1.657, allocations: 10.36 kB / 0.8201 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02751/1.685, allocations: 10.31 MB / 0.8302 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.685, allocations: 0 / 0.8302 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002417/1.687, allocations: 450.3 kB / 0.8306 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/1.689, allocations: 0.5129 MB / 0.8311 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004241/1.69, allocations: 11.52 kB / 0.8312 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009008/1.699, allocations: 7.264 MB / 0.8382 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.699, allocations: 7.969 kB / 0.8383 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.712, allocations: 7.617 MB / 0.8457 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00332/1.716, allocations: 0.9048 MB / 0.8466 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00218/1.718, allocations: 5.938 kB / 0.8466 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003727/1.722, allocations: 113.9 kB / 0.8467 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/1.722, allocations: 162.1 kB / 0.8468 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/1.723, allocations: 68.45 kB / 0.8469 GB, free: 12.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00839/1.731, allocations: 3.335 MB / 0.8502 GB, free: 9.363 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.234e-06/1.731, allocations: 112 / 0.8502 GB, free: 9.363 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01113/1.742, allocations: 1.354 MB / 0.8515 GB, free: 8.02 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 214 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008198/1.743, allocations: 141.9 kB / 0.8516 GB, free: 7.883 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01329/1.756, allocations: 7.013 MB / 0.8585 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.756, allocations: 0 / 0.8585 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/1.761, allocations: 2.411 MB / 0.8608 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/1.766, allocations: 0.5953 MB / 0.8614 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/1.8, allocations: 12.18 MB / 0.8733 GB, free: 3.949 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/1.812, allocations: 5.216 MB / 0.8784 GB, free: 128 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01566/1.828, allocations: 3.018 MB / 0.8813 GB, free: 13.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/1.831, allocations: 359.4 kB / 0.8817 GB, free: 13.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/1.831, allocations: 0 / 0.8817 GB, free: 13.62 MB / 490.7 MB Notification: Performance of Templates: time 0.4032/2.234, allocations: 46.25 MB / 0.9268 GB, free: 131.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)