Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005211/0.00521, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001106/0.001106, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1988/0.1988, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.001381/0.001381, allocations: 72.36 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1184, allocations: 56.47 MB / 489.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01709/0.1355, allocations: 16.16 MB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1497, allocations: 5.098 MB / 0.4988 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.1539, allocations: 99.75 kB / 0.4989 GB, free: 404 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008792/0.1628, allocations: 4.579 MB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008201/0.171, allocations: 2.657 MB / 0.506 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.1742, allocations: 1.154 MB / 0.5071 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.1846, allocations: 6.638 MB / 0.5136 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.309/0.4936, allocations: 5.881 MB / 0.5193 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.4994, allocations: 2.515 MB / 0.5218 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006977/0.5064, allocations: 3.414 MB / 0.5251 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00335/0.5098, allocations: 0.5707 MB / 0.5257 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005611/0.5154, allocations: 1.569 MB / 0.5272 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00638/0.5218, allocations: 3.144 MB / 0.5303 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01019/0.532, allocations: 3.595 MB / 0.5338 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.5477, allocations: 11.44 MB / 0.5449 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5478, allocations: 0 / 0.5449 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5478, allocations: 0 / 0.5449 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004696/0.5482, allocations: 0 / 0.5449 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01977/0.568, allocations: 7.573 MB / 0.5523 GB, free: 9.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5681, allocations: 15.52 kB / 0.5523 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.5808, allocations: 2.793 MB / 0.5551 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.5921, allocations: 4.336 MB / 0.5593 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5925, allocations: 385.5 kB / 0.5597 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002039/0.5945, allocations: 0.4933 MB / 0.5602 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03281/0.6274, allocations: 16.41 MB / 0.5762 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/0.6276, allocations: 56.47 kB / 0.5762 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008253/0.6284, allocations: 238 kB / 0.5765 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005068/0.6335, allocations: 3.154 MB / 0.5795 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.6635, allocations: 14.27 MB / 0.5935 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0818/0.7454, allocations: 58.81 MB / 0.6509 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/0.7626, allocations: 7.161 MB / 0.6579 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007721/0.7703, allocations: 4.502 MB / 0.6623 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02582/0.7962, allocations: 15.43 MB / 0.6774 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.7963, allocations: 70 kB / 0.6774 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=306): time 5.831e-06/0.7963, allocations: 0 / 0.6774 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=348): time 0.09248/0.8888, allocations: 32.83 MB / 0.7095 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.889, allocations: 216 kB / 0.7097 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00924/0.8982, allocations: 5.356 MB / 0.7149 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001406/0.8997, allocations: 77.7 kB / 0.715 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/0.9032, allocations: 4.334 MB / 0.7192 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002269/0.9055, allocations: 1.277 MB / 0.7205 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/0.9085, allocations: 1.721 MB / 0.7222 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.9086, allocations: 305.1 kB / 0.7225 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00635/0.915, allocations: 3.924 MB / 0.7263 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2962/1.211, allocations: 8.414 MB / 0.7345 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/1.231, allocations: 13.23 MB / 0.7474 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002618/1.232, allocations: 44.53 kB / 0.7475 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.0293/1.261, allocations: 14.27 MB / 0.7614 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.261, allocations: 70.5 kB / 0.7615 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.261, allocations: 159.7 kB / 0.7616 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/1.267, allocations: 2.257 MB / 0.7638 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007282/1.274, allocations: 1.992 MB / 0.7658 GB, free: 178.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.29, allocations: 14.42 MB / 0.7798 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008119/1.298, allocations: 0.5049 MB / 0.7803 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/1.3, allocations: 493.6 kB / 0.7808 GB, free: 170.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006155/1.306, allocations: 3.084 MB / 0.7838 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.308, allocations: 0.4971 MB / 0.7843 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.32, allocations: 8.401 MB / 0.7925 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.376e-05/1.321, allocations: 36.55 kB / 0.7925 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/1.321, allocations: 15.17 kB / 0.7926 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/1.321, allocations: 14.44 kB / 0.7926 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.348, allocations: 16.94 MB / 0.8091 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.348, allocations: 4 kB / 0.8091 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/1.351, allocations: 0.6085 MB / 0.8097 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/1.356, allocations: 2.042 MB / 0.8117 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007936/1.357, allocations: 61.94 kB / 0.8118 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.371, allocations: 13.75 MB / 0.8252 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.371, allocations: 0 / 0.8252 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.389, allocations: 13.17 MB / 0.8381 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.391, allocations: 1.15 MB / 0.8392 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/1.392, allocations: 52 kB / 0.8392 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.395, allocations: 255.6 kB / 0.8395 GB, free: 114 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/1.395, allocations: 198.1 kB / 0.8397 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.395, allocations: 89.47 kB / 0.8398 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004032/1.399, allocations: 3.368 MB / 0.843 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/1.399, allocations: 0 / 0.843 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006253/1.406, allocations: 1.689 MB / 0.8447 GB, free: 108.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005952/1.406, allocations: 195.3 kB / 0.8449 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.419, allocations: 9.56 MB / 0.8542 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.419, allocations: 0 / 0.8542 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005879/1.425, allocations: 4.121 MB / 0.8582 GB, free: 94.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/1.429, allocations: 0.678 MB / 0.8589 GB, free: 94.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/1.452, allocations: 15.69 MB / 0.8742 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/1.457, allocations: 4.794 MB / 0.8789 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00543/1.463, allocations: 2.646 MB / 0.8815 GB, free: 70.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.465, allocations: 375.3 kB / 0.8818 GB, free: 70.55 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.465, allocations: 0 / 0.8818 GB, free: 70.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.09645/1.561, allocations: 65.92 MB / 0.9462 GB, free: 4.699 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)