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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00571/0.005709, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.001191/0.001191, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.495/1.495, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3513/0.3513, allocations: 38 MB / 307.9 MB, free: 10.07 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.001605/0.001605, allocations: 71.88 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3792, allocations: 56.46 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.01942/0.3986, allocations: 17.65 MB / 0.4953 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0185/0.4172, allocations: 5.378 MB / 0.5005 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006072/0.4233, allocations: 118.8 kB / 0.5006 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.4338, allocations: 5.092 MB / 0.5056 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.4447, allocations: 2.838 MB / 0.5084 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.449, allocations: 1.243 MB / 0.5096 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.4641, allocations: 7.916 MB / 0.5173 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009824/0.474, allocations: 6.249 MB / 0.5234 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006718/0.4808, allocations: 2.78 MB / 0.5261 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009766/0.4906, allocations: 3.855 MB / 0.5299 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002769/0.4934, allocations: 0.6055 MB / 0.5305 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/0.4982, allocations: 1.615 MB / 0.5321 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004973/0.5032, allocations: 3.55 MB / 0.5355 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007867/0.511, allocations: 3.931 MB / 0.5394 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.529, allocations: 12.35 MB / 0.5514 GB, free: 8.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5291, allocations: 0 / 0.5514 GB, free: 8.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5291, allocations: 3.938 kB / 0.5514 GB, free: 8.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004965/0.5296, allocations: 8 kB / 0.5514 GB, free: 8.102 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02648/0.5561, allocations: 8.315 MB / 0.5596 GB, free: 15.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.5561, allocations: 15.89 kB / 0.5596 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.573, allocations: 3.212 MB / 0.5627 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.5884, allocations: 5.31 MB / 0.5679 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/0.5889, allocations: 406.7 kB / 0.5683 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/0.5916, allocations: 0.531 MB / 0.5688 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/0.6282, allocations: 16.38 MB / 0.5848 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.6285, allocations: 79.3 kB / 0.5849 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/0.6297, allocations: 251.8 kB / 0.5851 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005223/0.6349, allocations: 3.076 MB / 0.5881 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03045/0.6654, allocations: 13.64 MB / 0.6015 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6819/1.347, allocations: 62.1 MB / 0.6621 GB, free: 81.45 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.363, allocations: 6.112 MB / 0.6681 GB, free: 80.09 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.369, allocations: 3.412 MB / 0.6714 GB, free: 78.66 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/1.369, allocations: 49.78 kB / 0.6714 GB, free: 78.65 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/1.369, allocations: 66.47 kB / 0.6715 GB, free: 78.59 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 6.803e-06/1.369, allocations: 1.094 kB / 0.6715 GB, free: 78.59 MB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.06657/1.436, allocations: 26.33 MB / 0.6972 GB, free: 67.89 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/1.436, allocations: 261.4 kB / 0.6975 GB, free: 67.61 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.446, allocations: 7.034 MB / 0.7043 GB, free: 64.03 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006393/1.447, allocations: 68.83 kB / 0.7044 GB, free: 63.97 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.449, allocations: 4.971 MB / 0.7093 GB, free: 59.64 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.451, allocations: 1.031 MB / 0.7103 GB, free: 58.78 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002346/1.453, allocations: 1.847 MB / 0.7121 GB, free: 57.73 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/1.453, allocations: 308.2 kB / 0.7124 GB, free: 57.43 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/1.457, allocations: 3.413 MB / 0.7157 GB, free: 55.77 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006155/1.464, allocations: 8.707 MB / 0.7242 GB, free: 45.09 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.476, allocations: 12.98 MB / 0.7369 GB, free: 29.57 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/1.476, allocations: 52 kB / 0.7369 GB, free: 29.52 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02392/1.5, allocations: 13.41 MB / 0.75 GB, free: 16.09 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/1.5, allocations: 87.94 kB / 0.7501 GB, free: 16 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002993/1.501, allocations: 188 kB / 0.7503 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/1.505, allocations: 1.792 MB / 0.752 GB, free: 14.02 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006654/1.512, allocations: 2.086 MB / 0.7541 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/1.525, allocations: 12.63 MB / 0.7664 GB, free: 14.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008698/1.534, allocations: 0.5109 MB / 0.7669 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.536, allocations: 0.5234 MB / 0.7674 GB, free: 13.86 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.01039/1.546, allocations: 3.32 MB / 0.7706 GB, free: 10.53 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002723/1.549, allocations: 0.5823 MB / 0.7712 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/1.563, allocations: 5.986 MB / 0.7771 GB, free: 3.926 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-05/1.564, allocations: 32 kB / 0.7771 GB, free: 3.895 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.002e-05/1.564, allocations: 19.92 kB / 0.7771 GB, free: 3.875 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-05/1.564, allocations: 11.95 kB / 0.7771 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.598, allocations: 13.31 MB / 0.7901 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.598, allocations: 1.312 kB / 0.7901 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.6, allocations: 459.3 kB / 0.7906 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004497/1.605, allocations: 1.502 MB / 0.792 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/1.605, allocations: 55.5 kB / 0.7921 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.622, allocations: 11.69 MB / 0.8035 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.622, allocations: 3.938 kB / 0.8035 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.642, allocations: 9.74 MB / 0.813 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004795/1.647, allocations: 1.067 MB / 0.8141 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/1.649, allocations: 44 kB / 0.8141 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/1.653, allocations: 179.7 kB / 0.8143 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007072/1.654, allocations: 157.6 kB / 0.8144 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/1.654, allocations: 79.98 kB / 0.8145 GB, free: 13.06 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00817/1.662, allocations: 4.476 MB / 0.8189 GB, free: 8.602 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.61e-07/1.662, allocations: 0 / 0.8189 GB, free: 8.602 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009481/1.672, allocations: 1.67 MB / 0.8205 GB, free: 6.938 MB / 0.5607 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0006697/1.673, allocations: 185.5 kB / 0.8207 GB, free: 6.75 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01654/1.689, allocations: 8.36 MB / 0.8288 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.689, allocations: 3.938 kB / 0.8288 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004628/1.694, allocations: 2.857 MB / 0.8316 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/1.7, allocations: 0.793 MB / 0.8324 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/1.732, allocations: 15.54 MB / 0.8476 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006717/1.739, allocations: 5.07 MB / 0.8525 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006626/1.746, allocations: 2.785 MB / 0.8553 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.747, allocations: 395.4 kB / 0.8556 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/1.747, allocations: 0 / 0.8556 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of Templates: time 0.4221/2.169, allocations: 59.74 MB / 0.914 GB, free: 173.1 MB / 0.5919 GB 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)