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.001424/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001513/0.001513, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.973 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.4663/0.4663, allocations: 37.99 MB / 307.3 MB, free: 9.82 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.001475/0.001475, allocations: 75.89 kB / 374.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1472, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3662/0.5134, allocations: 89.6 MB / 0.5084 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05405/0.5676, allocations: 17.36 MB / 0.5254 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02686/0.5945, allocations: 384.5 kB / 0.5257 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.6059, allocations: 4.559 MB / 0.5302 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.6171, allocations: 2.434 MB / 0.5326 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.6217, allocations: 1.075 MB / 0.5336 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01535/0.6371, allocations: 9.681 MB / 0.5431 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008075/0.6452, allocations: 5.783 MB / 0.5487 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.6506, allocations: 2.219 MB / 0.5509 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006209/0.6568, allocations: 3.606 MB / 0.5544 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.6587, allocations: 407.9 kB / 0.5548 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.663, allocations: 1.478 MB / 0.5562 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004261/0.6673, allocations: 2.992 MB / 0.5592 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009457/0.6768, allocations: 3.437 MB / 0.5625 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.6927, allocations: 10.9 MB / 0.5732 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6928, allocations: 0 / 0.5732 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6928, allocations: 0 / 0.5732 GB, free: 11.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004215/0.6932, allocations: 4 kB / 0.5732 GB, free: 11.52 MB / 446.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.02327/0.7165, allocations: 7.567 MB / 0.5806 GB, free: 3.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7166, allocations: 8.031 kB / 0.5806 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.7294, allocations: 2.796 MB / 0.5833 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.7403, allocations: 4.276 MB / 0.5875 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005151/0.7408, allocations: 389.7 kB / 0.5878 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003155/0.744, allocations: 0.4918 MB / 0.5883 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03867/0.7827, allocations: 16.41 MB / 0.6043 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004064/0.7831, allocations: 59.52 kB / 0.6044 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/0.7855, allocations: 239.8 kB / 0.6046 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006089/0.7916, allocations: 3.158 MB / 0.6077 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/0.8232, allocations: 14.26 MB / 0.6216 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3854/1.209, allocations: 59.12 MB / 0.6794 GB, free: 106.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.228, allocations: 7.171 MB / 0.6864 GB, free: 104.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008816/1.237, allocations: 4.493 MB / 0.6908 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0304/1.267, allocations: 15.45 MB / 0.7059 GB, free: 95.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.267, allocations: 72.34 kB / 0.7059 GB, free: 95.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 4.268e-06/1.267, allocations: 0 / 0.7059 GB, free: 95.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.08795/1.355, allocations: 32.81 MB / 0.738 GB, free: 72.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/1.355, allocations: 222.2 kB / 0.7382 GB, free: 72.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008099/1.363, allocations: 5.356 MB / 0.7434 GB, free: 66.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001477/1.365, allocations: 81.7 kB / 0.7435 GB, free: 66.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.368, allocations: 4.325 MB / 0.7477 GB, free: 62.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002202/1.37, allocations: 1.29 MB / 0.749 GB, free: 61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002709/1.372, allocations: 1.714 MB / 0.7506 GB, free: 59.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/1.373, allocations: 305.1 kB / 0.7509 GB, free: 58.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005004/1.378, allocations: 3.921 MB / 0.7548 GB, free: 55.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00715/1.385, allocations: 8.416 MB / 0.763 GB, free: 44.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.4, allocations: 13.24 MB / 0.7759 GB, free: 28.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/1.4, allocations: 48 kB / 0.776 GB, free: 28.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02749/1.427, allocations: 14.26 MB / 0.7899 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003005/1.428, allocations: 72 kB / 0.79 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004071/1.428, allocations: 156 kB / 0.7901 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/1.434, allocations: 2.261 MB / 0.7923 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007498/1.441, allocations: 1.989 MB / 0.7943 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/1.458, allocations: 13.48 MB / 0.8074 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00838/1.466, allocations: 0.5072 MB / 0.8079 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002546/1.469, allocations: 487.9 kB / 0.8084 GB, free: 11.4 MB / 0.4981 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.008174/1.477, allocations: 3.083 MB / 0.8114 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002383/1.479, allocations: 0.4898 MB / 0.8119 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3363/1.816, allocations: 8.395 MB / 0.8201 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/1.816, allocations: 39.06 kB / 0.8201 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/1.816, allocations: 9.562 kB / 0.8201 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001085/1.816, allocations: 20.59 kB / 0.8201 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03471/1.851, allocations: 17.16 MB / 0.8369 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/1.851, allocations: 3.25 kB / 0.8369 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003617/1.854, allocations: 0.6142 MB / 0.8375 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005386/1.86, allocations: 2.034 MB / 0.8395 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/1.861, allocations: 59.42 kB / 0.8395 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.88, allocations: 12.72 MB / 0.852 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.88, allocations: 1.344 kB / 0.852 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02954/1.91, allocations: 13.15 MB / 0.8648 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004438/1.914, allocations: 1.134 MB / 0.8659 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/1.916, allocations: 61.66 kB / 0.866 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/1.92, allocations: 257.4 kB / 0.8662 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000932/1.921, allocations: 198.8 kB / 0.8664 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003145/1.921, allocations: 90.28 kB / 0.8665 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007869/1.929, allocations: 3.369 MB / 0.8698 GB, free: 131 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.929, allocations: 0 / 0.8698 GB, free: 131 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01074/1.94, allocations: 1.693 MB / 0.8714 GB, free: 130.8 MB / 0.4981 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.001187/1.941, allocations: 200.8 kB / 0.8716 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.958, allocations: 9.534 MB / 0.8809 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.959, allocations: 0 / 0.8809 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007563/1.966, allocations: 4.102 MB / 0.8849 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/1.972, allocations: 0.6416 MB / 0.8856 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/2, allocations: 19.07 MB / 0.9042 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006033/2.007, allocations: 4.803 MB / 0.9089 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007144/2.014, allocations: 2.646 MB / 0.9115 GB, free: 99.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/2.016, allocations: 375.3 kB / 0.9118 GB, free: 99.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/2.016, allocations: 0 / 0.9118 GB, free: 99.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.1077/2.123, allocations: 67.49 MB / 0.9777 GB, free: 31.89 MB / 0.4981 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)