Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00913/0.00913, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002081/0.002082, allocations: 186.3 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.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3652/0.3652, allocations: 39.95 MB / 309.8 MB, free: 9.41 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.2. 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.001417/0.001417, allocations: 67.89 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2966, allocations: 56.88 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01745/0.3141, allocations: 16.94 MB / 0.4977 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3261, allocations: 5.297 MB / 0.5029 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004093/0.3303, allocations: 112.4 kB / 0.503 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009052/0.3394, allocations: 5.073 MB / 0.5079 GB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009872/0.3493, allocations: 2.772 MB / 0.5106 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.3541, allocations: 1.239 MB / 0.5118 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.37, allocations: 7.742 MB / 0.5194 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.382, allocations: 6.154 MB / 0.5254 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006932/0.389, allocations: 2.698 MB / 0.5281 GB, free: 148 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007074/0.3961, allocations: 3.747 MB / 0.5317 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002708/0.3988, allocations: 0.5859 MB / 0.5323 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.4036, allocations: 1.6 MB / 0.5338 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004811/0.4084, allocations: 3.452 MB / 0.5372 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007039/0.4155, allocations: 3.811 MB / 0.5409 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.4327, allocations: 11.9 MB / 0.5526 GB, free: 6.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4327, allocations: 0 / 0.5526 GB, free: 6.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4327, allocations: 0 / 0.5526 GB, free: 6.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000459/0.4332, allocations: 3.984 kB / 0.5526 GB, free: 6.961 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.02705/0.4603, allocations: 8.067 MB / 0.5604 GB, free: 14.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.4603, allocations: 11.89 kB / 0.5605 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.4775, allocations: 3.178 MB / 0.5636 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/0.4912, allocations: 5.232 MB / 0.5687 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000471/0.4917, allocations: 394.4 kB / 0.569 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/0.4943, allocations: 0.5192 MB / 0.5695 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/0.5248, allocations: 15.77 MB / 0.585 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/0.5251, allocations: 75.31 kB / 0.585 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008377/0.526, allocations: 243.8 kB / 0.5853 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005587/0.5315, allocations: 2.934 MB / 0.5881 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/0.5612, allocations: 13.16 MB / 0.601 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6057/1.167, allocations: 60.11 MB / 0.6597 GB, free: 83.1 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.182, allocations: 6.097 MB / 0.6656 GB, free: 81.91 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005109/1.188, allocations: 3.378 MB / 0.6689 GB, free: 80.48 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.188, allocations: 46.92 kB / 0.669 GB, free: 80.47 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.468e-05/1.188, allocations: 61.08 kB / 0.669 GB, free: 80.42 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=242): time 7.975e-06/1.188, allocations: 0 / 0.669 GB, free: 80.42 MB / 0.4982 GB Notification: Performance of matching and sorting (n=260): time 0.06434/1.252, allocations: 25.87 MB / 0.6943 GB, free: 69.29 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.252, allocations: 266 kB / 0.6945 GB, free: 69 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009914/1.262, allocations: 6.974 MB / 0.7014 GB, free: 65.46 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006205/1.263, allocations: 63.55 kB / 0.7014 GB, free: 65.4 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002594/1.266, allocations: 4.798 MB / 0.7061 GB, free: 61.21 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.267, allocations: 1.009 MB / 0.7071 GB, free: 60.38 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002421/1.269, allocations: 1.805 MB / 0.7089 GB, free: 59.35 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/1.27, allocations: 301.1 kB / 0.7091 GB, free: 59.05 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/1.274, allocations: 3.314 MB / 0.7124 GB, free: 56.33 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005898/1.279, allocations: 8.488 MB / 0.7207 GB, free: 45.39 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.291, allocations: 12.65 MB / 0.733 GB, free: 30.3 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/1.291, allocations: 53.59 kB / 0.7331 GB, free: 30.25 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02329/1.314, allocations: 13.08 MB / 0.7458 GB, free: 17.15 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.315, allocations: 84 kB / 0.7459 GB, free: 17.07 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/1.315, allocations: 183.9 kB / 0.7461 GB, free: 16.89 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.319, allocations: 1.79 MB / 0.7478 GB, free: 15.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007065/1.326, allocations: 2.102 MB / 0.7499 GB, free: 12.99 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.338, allocations: 12.44 MB / 0.762 GB, free: 172 kB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/1.345, allocations: 498 kB / 0.7625 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.347, allocations: 0.5155 MB / 0.763 GB, free: 15.17 MB / 0.5138 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.006129/1.353, allocations: 3.207 MB / 0.7662 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/1.355, allocations: 0.5746 MB / 0.7667 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.366, allocations: 5.808 MB / 0.7724 GB, free: 5.535 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.071e-05/1.366, allocations: 28 kB / 0.7724 GB, free: 5.508 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.366, allocations: 8 kB / 0.7724 GB, free: 5.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.366, allocations: 19.89 kB / 0.7724 GB, free: 5.48 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/1.394, allocations: 12.88 MB / 0.785 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/1.394, allocations: 3.938 kB / 0.785 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.397, allocations: 0.5109 MB / 0.7855 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004243/1.401, allocations: 1.469 MB / 0.787 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/1.402, allocations: 43.98 kB / 0.787 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/1.416, allocations: 11.49 MB / 0.7982 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.416, allocations: 0 / 0.7982 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.432, allocations: 9.438 MB / 0.8074 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003528/1.435, allocations: 1.048 MB / 0.8085 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.436, allocations: 47.98 kB / 0.8085 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.439, allocations: 176.2 kB / 0.8087 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/1.439, allocations: 149.6 kB / 0.8088 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.44, allocations: 64 kB / 0.8089 GB, free: 15.62 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007597/1.447, allocations: 4.447 MB / 0.8132 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.61e-07/1.447, allocations: 0 / 0.8132 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01262/1.46, allocations: 1.631 MB / 0.8148 GB, free: 9.559 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.0009644/1.461, allocations: 192.4 kB / 0.815 GB, free: 9.371 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01477/1.476, allocations: 8.103 MB / 0.8229 GB, free: 1.27 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.476, allocations: 8.125 kB / 0.8229 GB, free: 1.262 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.004242/1.48, allocations: 2.731 MB / 0.8256 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005619/1.486, allocations: 0.786 MB / 0.8264 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/1.514, allocations: 15.1 MB / 0.8411 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009946/1.524, allocations: 4.892 MB / 0.8459 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008363/1.533, allocations: 2.749 MB / 0.8486 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/1.535, allocations: 391.3 kB / 0.8489 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of SimCode: time 1.843e-06/1.535, allocations: 4 kB / 0.8489 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of Templates: time 0.397/1.932, allocations: 58.8 MB / 0.9064 GB, free: 200.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)