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.008852/0.008852, allocations: 104 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.001693/0.001693, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3066/0.3066, allocations: 38 MB / 307.9 MB, free: 10.02 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.001583/0.001583, allocations: 71.89 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2884, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01397/0.3024, allocations: 16.94 MB / 0.4946 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.3164, allocations: 5.295 MB / 0.4997 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005427/0.3218, allocations: 116.1 kB / 0.4999 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00902/0.3309, allocations: 5.07 MB / 0.5048 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.3391, allocations: 2.768 MB / 0.5075 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.3426, allocations: 1.248 MB / 0.5087 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01288/0.3555, allocations: 7.731 MB / 0.5163 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.3665, allocations: 6.153 MB / 0.5223 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.3726, allocations: 2.691 MB / 0.5249 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.3786, allocations: 3.75 MB / 0.5286 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002329/0.381, allocations: 0.5859 MB / 0.5292 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.3856, allocations: 1.596 MB / 0.5307 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004786/0.3904, allocations: 3.417 MB / 0.534 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008213/0.3987, allocations: 3.807 MB / 0.5378 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/0.4185, allocations: 11.91 MB / 0.5494 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.4186, allocations: 0 / 0.5494 GB, free: 10.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4186, allocations: 0 / 0.5494 GB, free: 10.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000484/0.4191, allocations: 3.938 kB / 0.5494 GB, free: 10.2 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.02301/0.4421, allocations: 8.067 MB / 0.5573 GB, free: 2.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4422, allocations: 11.89 kB / 0.5573 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.4583, allocations: 3.174 MB / 0.5604 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.4733, allocations: 5.232 MB / 0.5655 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.4738, allocations: 390.4 kB / 0.5659 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.4762, allocations: 0.5193 MB / 0.5664 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.5075, allocations: 15.78 MB / 0.5818 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/0.5078, allocations: 75.3 kB / 0.5819 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006425/0.5085, allocations: 247.8 kB / 0.5821 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004948/0.5134, allocations: 2.927 MB / 0.5849 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.5415, allocations: 13.16 MB / 0.5978 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4336/0.9752, allocations: 60.11 MB / 0.6565 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/0.9908, allocations: 6.091 MB / 0.6625 GB, free: 82.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/0.996, allocations: 3.377 MB / 0.6657 GB, free: 81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.9962, allocations: 48.72 kB / 0.6658 GB, free: 80.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.9963, allocations: 70.22 kB / 0.6659 GB, free: 80.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.21e-06/0.9963, allocations: 0 / 0.6659 GB, free: 80.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=260): time 0.06916/1.065, allocations: 25.87 MB / 0.6911 GB, free: 70.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/1.066, allocations: 260.9 kB / 0.6914 GB, free: 70.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009745/1.075, allocations: 6.975 MB / 0.6982 GB, free: 67.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000698/1.076, allocations: 71.42 kB / 0.6983 GB, free: 66.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/1.079, allocations: 4.796 MB / 0.7029 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/1.08, allocations: 1.008 MB / 0.7039 GB, free: 61.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/1.082, allocations: 1.808 MB / 0.7057 GB, free: 60.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/1.082, allocations: 304.9 kB / 0.706 GB, free: 60.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/1.087, allocations: 3.311 MB / 0.7092 GB, free: 59.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.092, allocations: 8.489 MB / 0.7175 GB, free: 49.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.103, allocations: 12.64 MB / 0.7298 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/1.103, allocations: 52 kB / 0.7299 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02208/1.125, allocations: 13.09 MB / 0.7427 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/1.125, allocations: 80 kB / 0.7428 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.126, allocations: 180 kB / 0.7429 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/1.13, allocations: 1.781 MB / 0.7447 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.136, allocations: 2.109 MB / 0.7467 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.148, allocations: 12.44 MB / 0.7589 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007763/1.156, allocations: 495.2 kB / 0.7594 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.157, allocations: 0.5156 MB / 0.7599 GB, free: 2.934 MB / 0.4981 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.004535/1.162, allocations: 3.214 MB / 0.763 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.163, allocations: 0.5785 MB / 0.7636 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.174, allocations: 5.8 MB / 0.7692 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/1.174, allocations: 28 kB / 0.7693 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.174, allocations: 8 kB / 0.7693 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/1.174, allocations: 19.89 kB / 0.7693 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.199, allocations: 12.88 MB / 0.7819 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/1.199, allocations: 0 / 0.7819 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.202, allocations: 0.5109 MB / 0.7824 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00421/1.206, allocations: 1.465 MB / 0.7838 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/1.206, allocations: 51.92 kB / 0.7838 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/1.221, allocations: 11.48 MB / 0.7951 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.221, allocations: 0 / 0.7951 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.237, allocations: 9.451 MB / 0.8043 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/1.241, allocations: 1.048 MB / 0.8053 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.243, allocations: 40 kB / 0.8053 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/1.246, allocations: 179.7 kB / 0.8055 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005365/1.247, allocations: 141.7 kB / 0.8056 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.247, allocations: 67.98 kB / 0.8057 GB, free: 3.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008262/1.255, allocations: 4.451 MB / 0.8101 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.255, allocations: 0 / 0.8101 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01025/1.265, allocations: 1.631 MB / 0.8117 GB, free: 13.34 MB / 0.5606 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.0007547/1.266, allocations: 189.3 kB / 0.8118 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01437/1.28, allocations: 8.105 MB / 0.8197 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.281, allocations: 7.938 kB / 0.8198 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005079/1.286, allocations: 2.728 MB / 0.8224 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00652/1.292, allocations: 0.7843 MB / 0.8232 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/1.323, allocations: 15.1 MB / 0.8379 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009434/1.333, allocations: 4.9 MB / 0.8427 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008798/1.341, allocations: 2.741 MB / 0.8454 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/1.344, allocations: 391.4 kB / 0.8458 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/1.344, allocations: 0 / 0.8458 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.6563/2, allocations: 58.68 MB / 0.9031 GB, free: 203.9 MB / 0.6076 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)