Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006073/0.006073, allocations: 173.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.427/1.427, allocations: 194.5 MB / 210.3 MB, free: 8.516 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001699/0.001699, allocations: 108.7 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1799/0.1799, allocations: 40 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003916, allocations: 15.56 kB / 406.2 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 54.87 MB / 461 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6185, allocations: 102.9 MB / 0.5507 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.6189, allocations: 79.84 kB / 0.5508 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3433/0.9622, allocations: 138.3 MB / 0.6859 GB, free: 4.348 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.771e-06/0.9623, allocations: 0 / 0.6859 GB, free: 4.348 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006223/0.963, allocations: 139.9 kB / 0.6861 GB, free: 4.211 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02986/0.9929, allocations: 7.283 MB / 0.6932 GB, free: 12.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.9929, allocations: 12.03 kB / 0.6932 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03061/1.024, allocations: 7.182 MB / 0.7002 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/1.048, allocations: 7.566 MB / 0.7076 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/1.049, allocations: 0.5135 MB / 0.7081 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003787/1.053, allocations: 0.6871 MB / 0.7088 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3983/1.451, allocations: 17.23 MB / 0.7256 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008998/1.452, allocations: 91.92 kB / 0.7257 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004971/1.457, allocations: 331.3 kB / 0.726 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004/1.461, allocations: 1.62 MB / 0.7276 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03792/1.499, allocations: 14.35 MB / 0.7416 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08969/1.589, allocations: 72.29 MB / 0.8122 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.605, allocations: 7.207 MB / 0.8192 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/1.624, allocations: 9.473 MB / 0.8285 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.625, allocations: 63.22 kB / 0.8285 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 7.874e-06/1.625, allocations: 3.469 kB / 0.8285 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.08514/1.71, allocations: 32.17 MB / 0.8599 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.71, allocations: 241.6 kB / 0.8602 GB, free: 34.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.722, allocations: 5.956 MB / 0.866 GB, free: 32.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.723, allocations: 76.89 kB / 0.8661 GB, free: 32.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00375/1.727, allocations: 4.802 MB / 0.8708 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/1.729, allocations: 1.265 MB / 0.872 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009852/1.73, allocations: 180 kB / 0.8722 GB, free: 27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005722/1.73, allocations: 0.6767 MB / 0.8728 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005388/1.736, allocations: 3.736 MB / 0.8765 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008254/1.744, allocations: 8.764 MB / 0.885 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.755, allocations: 5.593 MB / 0.8905 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002006/1.755, allocations: 52 kB / 0.8905 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03101/1.786, allocations: 13.84 MB / 0.9041 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/1.786, allocations: 88.02 kB / 0.9041 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/1.786, allocations: 176 kB / 0.9043 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/1.791, allocations: 1.7 MB / 0.906 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008409/1.799, allocations: 2.12 MB / 0.908 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3159/2.115, allocations: 11.71 MB / 0.9195 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/2.126, allocations: 0.5131 MB / 0.92 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003988/2.13, allocations: 0.5212 MB / 0.9205 GB, free: 101.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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.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 (1089): * Single equations (assignments): 1084 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01256/2.142, allocations: 3.283 MB / 0.9237 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/2.144, allocations: 0.5879 MB / 0.9243 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/2.16, allocations: 7.528 MB / 0.9316 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-05/2.16, allocations: 37.06 kB / 0.9316 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.761e-05/2.16, allocations: 9.312 kB / 0.9317 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-05/2.16, allocations: 15.22 kB / 0.9317 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02974/2.19, allocations: 16.08 MB / 0.9474 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/2.19, allocations: 3.969 kB / 0.9474 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/2.193, allocations: 0.6334 MB / 0.948 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/2.196, allocations: 1.425 MB / 0.9494 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000436/2.197, allocations: 61.75 kB / 0.9495 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/2.209, allocations: 10.93 MB / 0.9601 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/2.209, allocations: 9.719 kB / 0.9601 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/2.226, allocations: 12.71 MB / 0.9726 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/2.23, allocations: 1.196 MB / 0.9737 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/2.232, allocations: 61.73 kB / 0.9738 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/2.235, allocations: 234.3 kB / 0.974 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005295/2.235, allocations: 208.3 kB / 0.9742 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/2.235, allocations: 95.92 kB / 0.9743 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007188/2.243, allocations: 4.282 MB / 0.9785 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/2.243, allocations: 0 / 0.9785 GB, free: 93.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01011/2.253, allocations: 1.699 MB / 0.9801 GB, free: 93.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008382/2.254, allocations: 212.6 kB / 0.9803 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01519/2.269, allocations: 9.17 MB / 0.9893 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.269, allocations: 0 / 0.9893 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00594/2.275, allocations: 3.718 MB / 0.9929 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/2.28, allocations: 0.7093 MB / 0.9936 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/2.32, allocations: 18.98 MB / 1.012 GB, free: 79.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/2.332, allocations: 5.167 MB / 1.017 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01068/2.343, allocations: 2.972 MB / 1.02 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/2.345, allocations: 416.5 kB / 1.02 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/2.345, allocations: 0 / 1.02 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.117/2.462, allocations: 64.81 MB / 1.084 GB, free: 29.41 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)