Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005034/0.005034, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001143/0.001143, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.3247/0.3247, allocations: 37.99 MB / 307.9 MB, free: 10.04 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.001472/0.001472, allocations: 71.89 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 56.46 MB / 489.5 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.02236/0.335, allocations: 16.94 MB / 0.4946 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.3523, allocations: 5.305 MB / 0.4998 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005888/0.3582, allocations: 110.9 kB / 0.4999 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.3697, allocations: 5.068 MB / 0.5048 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009692/0.3794, allocations: 2.858 MB / 0.5076 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.3838, allocations: 1.244 MB / 0.5088 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0165/0.4004, allocations: 7.736 MB / 0.5164 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01286/0.4133, allocations: 6.156 MB / 0.5224 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007349/0.4207, allocations: 2.698 MB / 0.525 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007965/0.4287, allocations: 3.746 MB / 0.5287 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003113/0.4318, allocations: 0.5898 MB / 0.5293 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005449/0.4373, allocations: 1.604 MB / 0.5308 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005883/0.4432, allocations: 3.449 MB / 0.5342 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008724/0.452, allocations: 3.803 MB / 0.5379 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02107/0.4731, allocations: 11.91 MB / 0.5495 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4732, allocations: 0 / 0.5495 GB, free: 10.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.4732, allocations: 0 / 0.5495 GB, free: 10.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004909/0.4737, allocations: 4 kB / 0.5495 GB, free: 10.02 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0215/0.4952, allocations: 8.063 MB / 0.5574 GB, free: 1.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.4953, allocations: 11.89 kB / 0.5574 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.5104, allocations: 3.174 MB / 0.5605 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/0.5296, allocations: 5.224 MB / 0.5656 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005502/0.5302, allocations: 390.4 kB / 0.566 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003326/0.5335, allocations: 0.5231 MB / 0.5665 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/0.5791, allocations: 15.77 MB / 0.5819 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003147/0.5795, allocations: 87.28 kB / 0.582 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/0.5806, allocations: 247.8 kB / 0.5822 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00721/0.5879, allocations: 2.923 MB / 0.5851 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04069/0.6286, allocations: 13.16 MB / 0.5979 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7084/1.337, allocations: 60.12 MB / 0.6566 GB, free: 83.42 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.354, allocations: 6.088 MB / 0.6626 GB, free: 82.48 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/1.36, allocations: 3.376 MB / 0.6659 GB, free: 81.05 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/1.361, allocations: 53.33 kB / 0.6659 GB, free: 81.05 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.361, allocations: 61.09 kB / 0.666 GB, free: 80.99 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=242): time 5.741e-06/1.361, allocations: 0 / 0.666 GB, free: 80.99 MB / 0.4982 GB Notification: Performance of matching and sorting (n=260): time 0.06622/1.427, allocations: 25.87 MB / 0.6913 GB, free: 70.83 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.427, allocations: 260.3 kB / 0.6915 GB, free: 70.54 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.438, allocations: 6.978 MB / 0.6983 GB, free: 67 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007713/1.439, allocations: 69.38 kB / 0.6984 GB, free: 66.93 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003195/1.442, allocations: 4.795 MB / 0.7031 GB, free: 62.76 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.443, allocations: 1.013 MB / 0.7041 GB, free: 61.92 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/1.446, allocations: 1.803 MB / 0.7058 GB, free: 60.9 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.446, allocations: 305.1 kB / 0.7061 GB, free: 60.6 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.45, allocations: 3.318 MB / 0.7093 GB, free: 58.98 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006836/1.457, allocations: 8.49 MB / 0.7176 GB, free: 49.1 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.469, allocations: 12.64 MB / 0.73 GB, free: 34.05 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/1.469, allocations: 52 kB / 0.73 GB, free: 34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02183/1.491, allocations: 13.08 MB / 0.7428 GB, free: 20.89 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/1.491, allocations: 84 kB / 0.7429 GB, free: 20.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.491, allocations: 183.6 kB / 0.7431 GB, free: 20.63 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.495, allocations: 1.781 MB / 0.7448 GB, free: 18.84 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006755/1.502, allocations: 2.113 MB / 0.7469 GB, free: 16.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.514, allocations: 12.43 MB / 0.759 GB, free: 3.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009061/1.523, allocations: 499.2 kB / 0.7595 GB, free: 3.422 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/1.525, allocations: 0.5156 MB / 0.76 GB, free: 2.906 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1087): * Single equations (assignments): 1081 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008572/1.533, allocations: 3.211 MB / 0.7631 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003118/1.537, allocations: 0.5745 MB / 0.7637 GB, free: 15.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.551, allocations: 5.808 MB / 0.7694 GB, free: 9.27 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.461e-05/1.551, allocations: 28 kB / 0.7694 GB, free: 9.242 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.956e-05/1.551, allocations: 8 kB / 0.7694 GB, free: 9.234 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/1.551, allocations: 15.95 kB / 0.7694 GB, free: 9.219 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03498/1.586, allocations: 12.88 MB / 0.782 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/1.586, allocations: 0 / 0.782 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/1.589, allocations: 0.5109 MB / 0.7825 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004768/1.594, allocations: 1.482 MB / 0.7839 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005777/1.595, allocations: 51.28 kB / 0.784 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.61, allocations: 11.48 MB / 0.7952 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.61, allocations: 4 kB / 0.7952 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.63, allocations: 9.45 MB / 0.8044 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004251/1.634, allocations: 1.052 MB / 0.8054 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002672/1.637, allocations: 40 kB / 0.8055 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004572/1.642, allocations: 171.8 kB / 0.8056 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008925/1.643, allocations: 141.7 kB / 0.8058 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004935/1.643, allocations: 71.98 kB / 0.8058 GB, free: 3.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01154/1.655, allocations: 4.451 MB / 0.8102 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.11e-07/1.655, allocations: 0 / 0.8102 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01202/1.667, allocations: 1.627 MB / 0.8118 GB, free: 13.3 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,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 (215): * Single equations (assignments): 209 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/1.668, allocations: 192.1 kB / 0.812 GB, free: 13.11 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.685, allocations: 8.11 MB / 0.8199 GB, free: 5.004 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.685, allocations: 0 / 0.8199 GB, free: 5.004 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005698/1.691, allocations: 2.737 MB / 0.8226 GB, free: 2.23 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009693/1.701, allocations: 0.784 MB / 0.8233 GB, free: 1.449 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/1.74, allocations: 15.1 MB / 0.8381 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/1.751, allocations: 4.892 MB / 0.8428 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00919/1.76, allocations: 2.745 MB / 0.8455 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.762, allocations: 395.3 kB / 0.8459 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.762, allocations: 0 / 0.8459 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.4391/2.201, allocations: 58.67 MB / 0.9032 GB, free: 203.8 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)