Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008235, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008906/0.0008907, allocations: 172.7 kB / 15.95 MB, free: 208 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.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.3428/0.3428, allocations: 38.04 MB / 308.4 MB, free: 10.46 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.000563/0.0005631, allocations: 12 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1301, allocations: 57.51 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.2803/0.4104, allocations: 88.58 MB / 0.5103 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04267/0.4531, allocations: 17.84 MB / 0.5277 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01747/0.4706, allocations: 416.6 kB / 0.5281 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0182/0.4888, allocations: 4.659 MB / 0.5327 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03949/0.5283, allocations: 13.56 MB / 0.5459 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.5337, allocations: 0.9224 MB / 0.5468 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04824/0.582, allocations: 36.36 MB / 0.5823 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.5948, allocations: 7.407 MB / 0.5895 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.5994, allocations: 2.063 MB / 0.5916 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.6044, allocations: 3.259 MB / 0.5947 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.6059, allocations: 244 kB / 0.595 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.6095, allocations: 1.12 MB / 0.5961 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00439/0.6139, allocations: 2.875 MB / 0.5989 GB, free: 3.301 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.6167, allocations: 1.376 MB / 0.6002 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.6284, allocations: 9.196 MB / 0.6092 GB, free: 8.695 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.6285, allocations: 4 kB / 0.6092 GB, free: 8.691 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6285, allocations: 0 / 0.6092 GB, free: 8.691 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005211/0.629, allocations: 0 / 0.6092 GB, free: 8.691 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01572/0.6447, allocations: 6.685 MB / 0.6157 GB, free: 1.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.6448, allocations: 8.031 kB / 0.6157 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.658, allocations: 2.915 MB / 0.6186 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009982/0.668, allocations: 4.481 MB / 0.623 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004219/0.6685, allocations: 398.1 kB / 0.6233 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.6704, allocations: 0.523 MB / 0.6239 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4214/1.092, allocations: 16.89 MB / 0.6404 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/1.092, allocations: 71.77 kB / 0.6404 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005966/1.093, allocations: 246.8 kB / 0.6407 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00448/1.097, allocations: 3.255 MB / 0.6438 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/1.124, allocations: 14.46 MB / 0.658 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07465/1.198, allocations: 62.76 MB / 0.7192 GB, free: 95.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/1.214, allocations: 6.901 MB / 0.726 GB, free: 89.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005525/1.219, allocations: 4.23 MB / 0.7301 GB, free: 85.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/1.234, allocations: 9.67 MB / 0.7396 GB, free: 75.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.234, allocations: 68.81 kB / 0.7396 GB, free: 75.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.261e-06/1.234, allocations: 0 / 0.7396 GB, free: 75.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.07773/1.312, allocations: 34.73 MB / 0.7735 GB, free: 40.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.312, allocations: 248.2 kB / 0.7738 GB, free: 40.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.323, allocations: 6.704 MB / 0.7803 GB, free: 33.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008159/1.323, allocations: 79.97 kB / 0.7804 GB, free: 33.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/1.326, allocations: 4.745 MB / 0.785 GB, free: 28.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.328, allocations: 1.273 MB / 0.7863 GB, free: 27.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.329, allocations: 180.6 kB / 0.7865 GB, free: 27.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006626/1.33, allocations: 0.7024 MB / 0.7871 GB, free: 26.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006115/1.336, allocations: 4.027 MB / 0.7911 GB, free: 22.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008019/1.344, allocations: 9.108 MB / 0.8 GB, free: 10.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007871/1.352, allocations: 5.923 MB / 0.8058 GB, free: 4.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/1.352, allocations: 52 kB / 0.8058 GB, free: 4.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0274/1.379, allocations: 15.03 MB / 0.8205 GB, free: 5.711 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/1.379, allocations: 87.23 kB / 0.8206 GB, free: 5.629 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000276/1.38, allocations: 176 kB / 0.8207 GB, free: 5.457 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/1.385, allocations: 2.312 MB / 0.823 GB, free: 3.137 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008176/1.393, allocations: 2.148 MB / 0.8251 GB, free: 0.9844 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2494/1.643, allocations: 13.51 MB / 0.8383 GB, free: 138.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007101/1.65, allocations: 0.5367 MB / 0.8388 GB, free: 138.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.651, allocations: 0.5332 MB / 0.8393 GB, free: 138.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * 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.005298/1.656, allocations: 3.299 MB / 0.8425 GB, free: 137.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.658, allocations: 0.5759 MB / 0.8431 GB, free: 137.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.67, allocations: 8.435 MB / 0.8513 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-05/1.67, allocations: 36.44 kB / 0.8514 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.782e-05/1.67, allocations: 13.48 kB / 0.8514 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/1.67, allocations: 14.11 kB / 0.8514 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02902/1.699, allocations: 17.08 MB / 0.8681 GB, free: 128.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.699, allocations: 5.031 kB / 0.8681 GB, free: 128.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002824/1.702, allocations: 0.5813 MB / 0.8687 GB, free: 128.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/1.707, allocations: 2.036 MB / 0.8706 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005264/1.708, allocations: 66.36 kB / 0.8707 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/1.724, allocations: 12.73 MB / 0.8831 GB, free: 121.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.724, allocations: 6.719 kB / 0.8832 GB, free: 121.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/1.741, allocations: 13.06 MB / 0.8959 GB, free: 116.8 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/1.744, allocations: 1.255 MB / 0.8971 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.745, allocations: 56.53 kB / 0.8972 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/1.748, allocations: 248.7 kB / 0.8974 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/1.748, allocations: 208.4 kB / 0.8976 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.748, allocations: 87.44 kB / 0.8977 GB, free: 116 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.006043/1.754, allocations: 4.301 MB / 0.9019 GB, free: 112.4 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.7e-07/1.754, allocations: 2.281 kB / 0.9019 GB, free: 112.4 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007113/1.762, allocations: 1.773 MB / 0.9036 GB, free: 110.7 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.0005634/1.762, allocations: 207.8 kB / 0.9038 GB, free: 110.5 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.775, allocations: 9.743 MB / 0.9134 GB, free: 100.8 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.775, allocations: 7.875 kB / 0.9134 GB, free: 100.8 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005715/1.78, allocations: 3.981 MB / 0.9172 GB, free: 96.79 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.785, allocations: 0.7278 MB / 0.918 GB, free: 96.08 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.809, allocations: 19.37 MB / 0.9369 GB, free: 76.85 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005383/1.815, allocations: 5.042 MB / 0.9418 GB, free: 71.77 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006841/1.822, allocations: 2.981 MB / 0.9447 GB, free: 68.78 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.823, allocations: 415.3 kB / 0.9451 GB, free: 68.38 MB / 0.4982 GB Notification: Performance of SimCode: time 8.92e-07/1.823, allocations: 0 / 0.9451 GB, free: 68.38 MB / 0.4982 GB Notification: Performance of Templates: time 0.0956/1.919, allocations: 67.35 MB / 1.011 GB, free: 1.098 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: