Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002587/0.002591, allocations: 352.8 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.378/3.378, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003584/0.003584, allocations: 220.7 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4731/0.4731, allocations: 76.11 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004648, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 48.72 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3725/0.4733, allocations: 43.52 MB / 0.6492 GB, free: 11.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02743/0.5008, allocations: 9.574 MB / 0.6586 GB, free: 10.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01055/0.5114, allocations: 202.6 kB / 0.6588 GB, free: 10.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008471/0.5199, allocations: 2.094 MB / 0.6608 GB, free: 10.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02592/0.5459, allocations: 7.249 MB / 0.6679 GB, free: 7.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.5505, allocations: 0.5996 MB / 0.6685 GB, free: 7.453 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008379/0.5589, allocations: 4.432 MB / 0.6728 GB, free: 5.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.5692, allocations: 4.627 MB / 0.6773 GB, free: 4.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.5727, allocations: 1.203 MB / 0.6785 GB, free: 3.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004428/0.5772, allocations: 1.886 MB / 0.6804 GB, free: 3.359 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.5784, allocations: 146.2 kB / 0.6805 GB, free: 3.359 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.5823, allocations: 0.901 MB / 0.6814 GB, free: 3.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003076/0.5854, allocations: 1.672 MB / 0.683 GB, free: 2.434 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.5873, allocations: 0.8397 MB / 0.6838 GB, free: 1.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009379/0.5967, allocations: 5.56 MB / 0.6893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.5968, allocations: 0 / 0.6893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.5968, allocations: 0 / 0.6893 GB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.597, allocations: 1.312 kB / 0.6893 GB, free: 13.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01319/0.6102, allocations: 3.941 MB / 0.6931 GB, free: 9.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.6103, allocations: 12.02 kB / 0.6931 GB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.6252, allocations: 2.238 MB / 0.6953 GB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007157/0.6324, allocations: 2.196 MB / 0.6975 GB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.6328, allocations: 247.8 kB / 0.6977 GB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.6353, allocations: 415.4 kB / 0.6981 GB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.6644, allocations: 10.27 MB / 0.7081 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.6647, allocations: 39.59 kB / 0.7082 GB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.6657, allocations: 157.8 kB / 0.7083 GB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005302/0.671, allocations: 1.91 MB / 0.7102 GB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/0.699, allocations: 8.52 MB / 0.7185 GB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07834/0.7774, allocations: 39.69 MB / 0.7572 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.7936, allocations: 3.543 MB / 0.7607 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/0.7982, allocations: 1.7 MB / 0.7624 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/0.8177, allocations: 7.459 MB / 0.7696 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.303e-05/0.8178, allocations: 47.5 kB / 0.7697 GB, free: 12.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 6.192e-06/0.8179, allocations: 4 kB / 0.7697 GB, free: 12.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.05224/0.8701, allocations: 12.22 MB / 0.7816 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8703, allocations: 145.6 kB / 0.7818 GB, free: 15.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008963/0.8792, allocations: 3.933 MB / 0.7856 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004438/0.8798, allocations: 49.7 kB / 0.7857 GB, free: 11.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003433/0.8832, allocations: 3.159 MB / 0.7887 GB, free: 8.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.8845, allocations: 0.5741 MB / 0.7893 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007017/0.8852, allocations: 117.4 kB / 0.7894 GB, free: 7.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004991/0.8857, allocations: 0.55 MB / 0.79 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/0.8917, allocations: 2.034 MB / 0.7919 GB, free: 5.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009453/0.9012, allocations: 5.744 MB / 0.7975 GB, free: 13.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008472/0.9097, allocations: 3.332 MB / 0.8008 GB, free: 10.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/0.9099, allocations: 40 kB / 0.8008 GB, free: 10.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.02658/0.9365, allocations: 8.343 MB / 0.809 GB, free: 2.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.9367, allocations: 60 kB / 0.809 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3188/1.256, allocations: 2.682 MB / 0.8117 GB, free: 152.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006667/1.262, allocations: 1.175 MB / 0.8128 GB, free: 152.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00869/1.271, allocations: 1.363 MB / 0.8141 GB, free: 152.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/1.28, allocations: 5.071 MB / 0.8191 GB, free: 149.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00692/1.287, allocations: 359.6 kB / 0.8194 GB, free: 149.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.289, allocations: 364.5 kB / 0.8198 GB, free: 149.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (732): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005661/1.295, allocations: 2.093 MB / 0.8218 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008597/1.295, allocations: 329.2 kB / 0.8221 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009402/1.305, allocations: 2.806 MB / 0.8249 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/1.305, allocations: 12.7 kB / 0.8249 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.305, allocations: 1.094 kB / 0.8249 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.306, allocations: 392.1 kB / 0.8253 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.307, allocations: 33.69 kB / 0.8253 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.311, allocations: 119.6 kB / 0.8254 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/1.311, allocations: 77.66 kB / 0.8255 GB, free: 147.4 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01146/1.323, allocations: 3.483 MB / 0.8289 GB, free: 146.2 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008782/1.331, allocations: 4.322 MB / 0.8331 GB, free: 144.5 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002414/1.334, allocations: 1.143 MB / 0.8342 GB, free: 144.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005756/1.34, allocations: 2.428 MB / 0.8366 GB, free: 143.3 MB / 442.7 MB Notification: Performance of Backend: time 1.032e-06/1.34, allocations: 0 / 0.8366 GB, free: 143.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/1.355, allocations: 4.69 MB / 0.8412 GB, free: 141.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.02329/1.379, allocations: 11.03 MB / 0.852 GB, free: 131.6 MB / 442.7 MB Notification: Performance of Templates: time 0.1155/1.494, allocations: 41.48 MB / 0.8925 GB, free: 90.29 MB / 442.7 MB