Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001282/0.001282, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3679/0.3679, allocations: 39.99 MB / 310.4 MB, free: 9.914 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.0005493/0.0005494, allocations: 19.98 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 57.95 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2823/0.3926, allocations: 80.08 MB / 0.5047 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03902/0.4316, allocations: 18.03 MB / 0.5223 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/0.4482, allocations: 390.4 kB / 0.5227 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.4625, allocations: 4.024 MB / 0.5266 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03953/0.502, allocations: 11.37 MB / 0.5377 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006807/0.5089, allocations: 0.8984 MB / 0.5386 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04154/0.5505, allocations: 27.32 MB / 0.5653 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.5612, allocations: 7.037 MB / 0.5722 GB, free: 13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.5648, allocations: 1.569 MB / 0.5737 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.5688, allocations: 2.192 MB / 0.5758 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.5701, allocations: 243.9 kB / 0.5761 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.5732, allocations: 1.092 MB / 0.5771 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.5765, allocations: 2.564 MB / 0.5796 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.5784, allocations: 1.341 MB / 0.581 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5891, allocations: 9.017 MB / 0.5898 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5892, allocations: 0 / 0.5898 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5892, allocations: 0 / 0.5898 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004501/0.5897, allocations: 0 / 0.5898 GB, free: 10.93 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01843/0.6081, allocations: 6.714 MB / 0.5963 GB, free: 4.141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.6082, allocations: 12.03 kB / 0.5963 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04596/0.6541, allocations: 8.295 MB / 0.6044 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.666, allocations: 4.585 MB / 0.6089 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.6664, allocations: 389.8 kB / 0.6093 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/0.6687, allocations: 0.4958 MB / 0.6098 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03478/0.7035, allocations: 16.43 MB / 0.6258 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/0.7039, allocations: 63.47 kB / 0.6259 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/0.7056, allocations: 239.8 kB / 0.6261 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005843/0.7114, allocations: 3.162 MB / 0.6292 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2477/0.9592, allocations: 14.02 MB / 0.6429 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08764/1.047, allocations: 60.42 MB / 0.7019 GB, free: 98.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.068, allocations: 8.107 MB / 0.7098 GB, free: 95.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/1.068, allocations: 58.03 kB / 0.7098 GB, free: 95.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.068, allocations: 66.38 kB / 0.7099 GB, free: 95.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.881e-06/1.068, allocations: 5.812 kB / 0.7099 GB, free: 95.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.08709/1.155, allocations: 35.01 MB / 0.7441 GB, free: 63.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.155, allocations: 210.1 kB / 0.7443 GB, free: 62.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008127/1.164, allocations: 6.601 MB / 0.7508 GB, free: 56.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007413/1.164, allocations: 77.7 kB / 0.7508 GB, free: 56.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.166, allocations: 4.589 MB / 0.7553 GB, free: 51.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.168, allocations: 1.232 MB / 0.7565 GB, free: 50.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/1.168, allocations: 176 kB / 0.7567 GB, free: 50.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003217/1.168, allocations: 0.6657 MB / 0.7573 GB, free: 49.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/1.173, allocations: 3.858 MB / 0.7611 GB, free: 45.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006278/1.179, allocations: 8.648 MB / 0.7695 GB, free: 34.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006918/1.186, allocations: 5.656 MB / 0.7751 GB, free: 28.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.07e-05/1.186, allocations: 48 kB / 0.7751 GB, free: 28.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02404/1.21, allocations: 13.92 MB / 0.7887 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/1.211, allocations: 83.95 kB / 0.7888 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002374/1.211, allocations: 168 kB / 0.7889 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/1.215, allocations: 1.793 MB / 0.7907 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006856/1.222, allocations: 2.035 MB / 0.7927 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.236, allocations: 12.36 MB / 0.8047 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.243, allocations: 0.5304 MB / 0.8053 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/1.245, allocations: 0.496 MB / 0.8058 GB, free: 13.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (1046): * Single equations (assignments): 1041 * 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.007478/1.253, allocations: 3.157 MB / 0.8088 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.254, allocations: 0.5631 MB / 0.8094 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/1.27, allocations: 7.706 MB / 0.8169 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-05/1.27, allocations: 32 kB / 0.8169 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.954e-05/1.27, allocations: 8 kB / 0.8169 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/1.27, allocations: 19.94 kB / 0.817 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2439/1.514, allocations: 16.7 MB / 0.8333 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.514, allocations: 4.906 kB / 0.8333 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.517, allocations: 0.5996 MB / 0.8339 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/1.521, allocations: 1.525 MB / 0.8354 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005453/1.522, allocations: 64.16 kB / 0.8354 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.535, allocations: 11.58 MB / 0.8467 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.535, allocations: 4.156 kB / 0.8467 GB, free: 135 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/1.554, allocations: 13.12 MB / 0.8595 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/1.558, allocations: 1.239 MB / 0.8607 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.559, allocations: 61.06 kB / 0.8608 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.562, allocations: 274.2 kB / 0.8611 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005504/1.563, allocations: 202.7 kB / 0.8613 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/1.563, allocations: 87.84 kB / 0.8613 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00693/1.57, allocations: 4.233 MB / 0.8655 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/1.57, allocations: 3.938 kB / 0.8655 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007541/1.577, allocations: 1.702 MB / 0.8671 GB, free: 127.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0007082/1.578, allocations: 224.3 kB / 0.8674 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.591, allocations: 9.444 MB / 0.8766 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.591, allocations: 3.969 kB / 0.8766 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005474/1.597, allocations: 3.932 MB / 0.8804 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.6, allocations: 0.6742 MB / 0.8811 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/1.627, allocations: 18.58 MB / 0.8992 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005378/1.632, allocations: 4.998 MB / 0.9041 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006474/1.639, allocations: 2.929 MB / 0.907 GB, free: 98.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.64, allocations: 409.3 kB / 0.9074 GB, free: 97.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.64, allocations: 4 kB / 0.9074 GB, free: 97.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.08893/1.729, allocations: 65.31 MB / 0.9711 GB, free: 32.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: