Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001383/0.001383, allocations: 200.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.321/0.321, allocations: 38 MB / 307.9 MB, free: 10.09 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.001451/0.001451, allocations: 67.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3412, allocations: 56.46 MB / 489.5 MB, free: 20.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.02025/0.3615, allocations: 20.83 MB / 0.4984 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3796, allocations: 6.077 MB / 0.5043 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007179/0.3868, allocations: 143.1 kB / 0.5045 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01309/0.4, allocations: 6.401 MB / 0.5107 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.4119, allocations: 3.442 MB / 0.5141 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.4172, allocations: 1.597 MB / 0.5156 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01853/0.4357, allocations: 9.821 MB / 0.5252 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.4495, allocations: 8.348 MB / 0.5334 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007388/0.4569, allocations: 3.45 MB / 0.5367 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007666/0.4646, allocations: 4.775 MB / 0.5414 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002991/0.4676, allocations: 0.7734 MB / 0.5422 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00547/0.4731, allocations: 1.775 MB / 0.5439 GB, free: 4 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006396/0.4795, allocations: 4.361 MB / 0.5481 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009256/0.4888, allocations: 4.821 MB / 0.5529 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.51, allocations: 14.98 MB / 0.5675 GB, free: 7.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.5101, allocations: 4 kB / 0.5675 GB, free: 7.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5101, allocations: 0 / 0.5675 GB, free: 7.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006294/0.5107, allocations: 0 / 0.5675 GB, free: 7.746 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02823/0.539, allocations: 10.07 MB / 0.5773 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.539, allocations: 11.89 kB / 0.5773 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.5579, allocations: 3.729 MB / 0.581 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.5745, allocations: 6.686 MB / 0.5875 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006065/0.5751, allocations: 0.4893 MB / 0.588 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/0.5784, allocations: 0.6675 MB / 0.5886 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/0.6194, allocations: 19.91 MB / 0.6081 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/0.6197, allocations: 91.14 kB / 0.6082 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.6207, allocations: 307.8 kB / 0.6085 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005705/0.6264, allocations: 3.606 MB / 0.612 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/0.6616, allocations: 16.74 MB / 0.6283 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5935/1.255, allocations: 72.73 MB / 0.6994 GB, free: 68.86 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.275, allocations: 8.501 MB / 0.7077 GB, free: 64.39 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/1.281, allocations: 4.545 MB / 0.7121 GB, free: 61.95 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/1.281, allocations: 0.6573 MB / 0.7127 GB, free: 61.32 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.281, allocations: 67.25 kB / 0.7128 GB, free: 61.26 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=311): time 5.951e-06/1.281, allocations: 0 / 0.7128 GB, free: 61.26 MB / 0.4982 GB Notification: Performance of matching and sorting (n=335): time 0.08746/1.369, allocations: 35.76 MB / 0.7477 GB, free: 30.31 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/1.369, allocations: 291.7 kB / 0.748 GB, free: 29.96 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008694/1.378, allocations: 7.818 MB / 0.7556 GB, free: 22.18 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007549/1.378, allocations: 77.7 kB / 0.7557 GB, free: 22.1 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.381, allocations: 5.746 MB / 0.7613 GB, free: 16.36 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.382, allocations: 1.282 MB / 0.7626 GB, free: 15.09 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/1.384, allocations: 2.078 MB / 0.7646 GB, free: 13 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.763e-05/1.384, allocations: 301.1 kB / 0.7649 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.389, allocations: 4.119 MB / 0.7689 GB, free: 8.574 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007634/1.397, allocations: 9.834 MB / 0.7785 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/1.416, allocations: 14.91 MB / 0.7931 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.416, allocations: 63.94 kB / 0.7931 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03007/1.446, allocations: 15.82 MB / 0.8086 GB, free: 10.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/1.447, allocations: 92 kB / 0.8087 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004069/1.447, allocations: 200 kB / 0.8089 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/1.454, allocations: 2.328 MB / 0.8111 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008768/1.463, allocations: 2.355 MB / 0.8134 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/1.485, allocations: 16.75 MB / 0.8298 GB, free: 4.035 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009173/1.494, allocations: 0.5774 MB / 0.8304 GB, free: 3.457 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.496, allocations: 0.582 MB / 0.8309 GB, free: 2.875 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00813/1.504, allocations: 3.882 MB / 0.8347 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/1.506, allocations: 0.6595 MB / 0.8354 GB, free: 14.31 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/1.522, allocations: 7.998 MB / 0.8432 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/1.522, allocations: 32 kB / 0.8432 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.522, allocations: 12 kB / 0.8432 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/1.522, allocations: 11.95 kB / 0.8432 GB, free: 6.223 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03585/1.558, allocations: 17.33 MB / 0.8602 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.558, allocations: 4 kB / 0.8602 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/1.561, allocations: 0.5618 MB / 0.8607 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/1.566, allocations: 1.994 MB / 0.8627 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005624/1.567, allocations: 63.98 kB / 0.8627 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.242/1.809, allocations: 15.6 MB / 0.878 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.809, allocations: 10.27 kB / 0.878 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/1.829, allocations: 12.4 MB / 0.8901 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.832, allocations: 1.271 MB / 0.8913 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.833, allocations: 58.69 kB / 0.8914 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.836, allocations: 235.5 kB / 0.8916 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005605/1.836, allocations: 195.1 kB / 0.8918 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003534/1.837, allocations: 89.23 kB / 0.8919 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00797/1.845, allocations: 4.995 MB / 0.8967 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.22e-07/1.845, allocations: 0.9688 kB / 0.8967 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009524/1.854, allocations: 2.01 MB / 0.8987 GB, free: 184.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007223/1.855, allocations: 208 kB / 0.8989 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.869, allocations: 10.14 MB / 0.9088 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.869, allocations: 3.219 kB / 0.9088 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00447/1.874, allocations: 3.651 MB / 0.9124 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005489/1.879, allocations: 0.9692 MB / 0.9133 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.906, allocations: 18.83 MB / 0.9317 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006215/1.912, allocations: 5.944 MB / 0.9375 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006462/1.919, allocations: 3.074 MB / 0.9405 GB, free: 154.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.92, allocations: 459.4 kB / 0.9409 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.114e-06/1.92, allocations: 0 / 0.9409 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1139/2.034, allocations: 75.5 MB / 1.015 GB, free: 78.87 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)