Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3997/0.3997, allocations: 38.04 MB / 308.4 MB, free: 10.4 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.0005979, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3111/0.4439, allocations: 80.07 MB / 0.502 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04899/0.4929, allocations: 18.03 MB / 0.5196 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02422/0.5172, allocations: 393.8 kB / 0.5199 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01738/0.5346, allocations: 4.025 MB / 0.5239 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05538/0.59, allocations: 11.37 MB / 0.535 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007325/0.5974, allocations: 0.8936 MB / 0.5358 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04434/0.6418, allocations: 27.31 MB / 0.5625 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.6543, allocations: 7.035 MB / 0.5694 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/0.6589, allocations: 1.569 MB / 0.5709 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004545/0.6635, allocations: 2.196 MB / 0.5731 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.6654, allocations: 236 kB / 0.5733 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.6696, allocations: 1.096 MB / 0.5744 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00384/0.6734, allocations: 2.56 MB / 0.5769 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.6761, allocations: 1.329 MB / 0.5782 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.6887, allocations: 9.028 MB / 0.587 GB, free: 15.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6888, allocations: 0 / 0.587 GB, free: 15.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.6888, allocations: 0 / 0.587 GB, free: 15.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005677/0.6894, allocations: 4 kB / 0.587 GB, free: 15.13 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02066/0.71, allocations: 6.718 MB / 0.5935 GB, free: 8.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.7101, allocations: 12.03 kB / 0.5935 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04665/0.7568, allocations: 8.288 MB / 0.6016 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.7709, allocations: 4.577 MB / 0.6061 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005775/0.7716, allocations: 393.8 kB / 0.6065 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002791/0.7744, allocations: 0.5074 MB / 0.607 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03786/0.8122, allocations: 16.42 MB / 0.623 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/0.8126, allocations: 63.36 kB / 0.6231 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.8137, allocations: 243.8 kB / 0.6233 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005599/0.8193, allocations: 3.162 MB / 0.6264 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3043/1.124, allocations: 14.03 MB / 0.6401 GB, free: 139.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08748/1.211, allocations: 60.43 MB / 0.6991 GB, free: 100.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.232, allocations: 8.098 MB / 0.707 GB, free: 97.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/1.232, allocations: 59.47 kB / 0.7071 GB, free: 97.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.232, allocations: 68.77 kB / 0.7071 GB, free: 97.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 7.334e-06/1.232, allocations: 0 / 0.7071 GB, free: 97.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.0956/1.328, allocations: 35.02 MB / 0.7413 GB, free: 69.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/1.328, allocations: 218.1 kB / 0.7415 GB, free: 69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008819/1.337, allocations: 6.593 MB / 0.748 GB, free: 62.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.338, allocations: 77.7 kB / 0.7481 GB, free: 62.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00259/1.341, allocations: 4.584 MB / 0.7525 GB, free: 57.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/1.343, allocations: 1.233 MB / 0.7537 GB, free: 56.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000519/1.343, allocations: 179.9 kB / 0.7539 GB, free: 56.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000377/1.344, allocations: 0.6696 MB / 0.7546 GB, free: 55.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005379/1.349, allocations: 3.854 MB / 0.7583 GB, free: 51.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008111/1.357, allocations: 8.656 MB / 0.7668 GB, free: 40.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008793/1.366, allocations: 5.655 MB / 0.7723 GB, free: 35.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.366, allocations: 48 kB / 0.7723 GB, free: 35.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02951/1.396, allocations: 13.92 MB / 0.7859 GB, free: 21.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.396, allocations: 76 kB / 0.786 GB, free: 21.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002642/1.396, allocations: 168 kB / 0.7862 GB, free: 20.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004388/1.401, allocations: 1.801 MB / 0.7879 GB, free: 19.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/1.409, allocations: 2.039 MB / 0.7899 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.422, allocations: 12.35 MB / 0.802 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008555/1.431, allocations: 0.5266 MB / 0.8025 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/1.433, allocations: 0.496 MB / 0.803 GB, free: 3.391 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1041 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00673/1.439, allocations: 3.158 MB / 0.8061 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/1.441, allocations: 0.5622 MB / 0.8066 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.456, allocations: 7.702 MB / 0.8141 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/1.456, allocations: 42.67 kB / 0.8142 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/1.456, allocations: 12 kB / 0.8142 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/1.456, allocations: 15.94 kB / 0.8142 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3296/1.786, allocations: 16.7 MB / 0.8305 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/1.786, allocations: 3.156 kB / 0.8305 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.789, allocations: 0.6055 MB / 0.8311 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00366/1.793, allocations: 1.522 MB / 0.8326 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000584/1.793, allocations: 61.2 kB / 0.8326 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/1.808, allocations: 11.59 MB / 0.844 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.808, allocations: 6.812 kB / 0.844 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.829, allocations: 13.12 MB / 0.8568 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/1.833, allocations: 1.235 MB / 0.858 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001692/1.835, allocations: 59.06 kB / 0.858 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003719/1.839, allocations: 277 kB / 0.8583 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006192/1.839, allocations: 198.2 kB / 0.8585 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/1.84, allocations: 88.41 kB / 0.8586 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009015/1.849, allocations: 4.237 MB / 0.8627 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.849, allocations: 0 / 0.8627 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01071/1.859, allocations: 1.702 MB / 0.8644 GB, free: 130.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.861, allocations: 227.4 kB / 0.8646 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01732/1.878, allocations: 9.435 MB / 0.8738 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.878, allocations: 0 / 0.8738 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007266/1.885, allocations: 3.951 MB / 0.8777 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/1.891, allocations: 0.663 MB / 0.8783 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/1.919, allocations: 18.58 MB / 0.8965 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005519/1.925, allocations: 4.997 MB / 0.9013 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0069/1.932, allocations: 2.93 MB / 0.9042 GB, free: 106.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.933, allocations: 403.3 kB / 0.9046 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.462e-06/1.933, allocations: 0 / 0.9046 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1022/2.035, allocations: 65.34 MB / 0.9684 GB, free: 40.51 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: