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.0009708/0.0009711, allocations: 100.5 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.001077/0.001077, allocations: 177.3 kB / 15.94 MB, free: 228 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.812/1.812, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3898/0.3898, allocations: 38.02 MB / 308.4 MB, free: 10.39 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.0006099/0.00061, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1471, allocations: 57.51 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3444/0.4915, allocations: 76.76 MB / 0.4987 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04657/0.5382, allocations: 17.41 MB / 0.5157 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02468/0.5629, allocations: 381.8 kB / 0.5161 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.5806, allocations: 3.85 MB / 0.5198 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05109/0.6317, allocations: 10.91 MB / 0.5305 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007012/0.6387, allocations: 0.9175 MB / 0.5314 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04438/0.6831, allocations: 27.26 MB / 0.558 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.6956, allocations: 7.211 MB / 0.5651 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.7003, allocations: 1.581 MB / 0.5666 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.7054, allocations: 2.141 MB / 0.5687 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.7067, allocations: 236 kB / 0.5689 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.7103, allocations: 1.092 MB / 0.57 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003132/0.7134, allocations: 2.482 MB / 0.5724 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.7158, allocations: 1.31 MB / 0.5737 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7282, allocations: 8.939 MB / 0.5824 GB, free: 3.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7283, allocations: 0 / 0.5824 GB, free: 3.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.181e-06/0.7283, allocations: 0 / 0.5824 GB, free: 3.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005723/0.7289, allocations: 3.938 kB / 0.5824 GB, free: 3.777 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.01993/0.7488, allocations: 6.62 MB / 0.5889 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7489, allocations: 12.03 kB / 0.5889 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04449/0.7934, allocations: 8.249 MB / 0.597 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.8062, allocations: 4.557 MB / 0.6014 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.8067, allocations: 381.8 kB / 0.6018 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.8093, allocations: 0.5035 MB / 0.6023 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/0.8446, allocations: 16.46 MB / 0.6183 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/0.845, allocations: 59.52 kB / 0.6184 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.8465, allocations: 243.8 kB / 0.6186 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005747/0.8522, allocations: 3.158 MB / 0.6217 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3058/1.158, allocations: 14.19 MB / 0.6356 GB, free: 140.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09123/1.249, allocations: 58.93 MB / 0.6931 GB, free: 103.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.27, allocations: 7.232 MB / 0.7002 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0301/1.3, allocations: 15.16 MB / 0.715 GB, free: 93.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.3, allocations: 68.22 kB / 0.715 GB, free: 93.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 7.103e-06/1.3, allocations: 0 / 0.715 GB, free: 93.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.08232/1.382, allocations: 32.32 MB / 0.7466 GB, free: 64.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.382, allocations: 214.2 kB / 0.7468 GB, free: 64.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/1.39, allocations: 5.587 MB / 0.7523 GB, free: 58.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009489/1.391, allocations: 77.7 kB / 0.7523 GB, free: 58.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002557/1.393, allocations: 4.386 MB / 0.7566 GB, free: 54.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001623/1.395, allocations: 1.281 MB / 0.7579 GB, free: 52.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/1.395, allocations: 160 kB / 0.758 GB, free: 52.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003537/1.396, allocations: 0.6569 MB / 0.7587 GB, free: 52.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/1.4, allocations: 3.67 MB / 0.7623 GB, free: 48.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006761/1.407, allocations: 8.12 MB / 0.7702 GB, free: 38.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/1.414, allocations: 5.352 MB / 0.7754 GB, free: 32.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/1.414, allocations: 44 kB / 0.7755 GB, free: 32.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02019/1.434, allocations: 13.21 MB / 0.7884 GB, free: 19.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/1.434, allocations: 68 kB / 0.7884 GB, free: 19.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/1.435, allocations: 156 kB / 0.7886 GB, free: 19.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/1.438, allocations: 1.789 MB / 0.7903 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00654/1.445, allocations: 1.926 MB / 0.7922 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.458, allocations: 12.33 MB / 0.8042 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/1.467, allocations: 0.4955 MB / 0.8047 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002531/1.47, allocations: 479.9 kB / 0.8052 GB, free: 1.895 MB / 494.1 MB 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 (994): * Single equations (assignments): 989 * 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.007868/1.477, allocations: 3.085 MB / 0.8082 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001744/1.479, allocations: 0.5014 MB / 0.8087 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.496, allocations: 7.638 MB / 0.8162 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.215e-05/1.496, allocations: 39.2 kB / 0.8162 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/1.496, allocations: 12 kB / 0.8162 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/1.496, allocations: 19.94 kB / 0.8162 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2803/1.776, allocations: 16.43 MB / 0.8323 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.776, allocations: 9.453 kB / 0.8323 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/1.779, allocations: 0.6106 MB / 0.8329 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003707/1.783, allocations: 1.527 MB / 0.8344 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/1.783, allocations: 59.08 kB / 0.8344 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.798, allocations: 11.52 MB / 0.8457 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.798, allocations: 4.969 kB / 0.8457 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02202/1.82, allocations: 12.29 MB / 0.8577 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00434/1.824, allocations: 1.127 MB / 0.8588 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001767/1.826, allocations: 57.64 kB / 0.8588 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/1.83, allocations: 253.2 kB / 0.8591 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009185/1.831, allocations: 193.1 kB / 0.8593 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004614/1.831, allocations: 86.53 kB / 0.8593 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008836/1.84, allocations: 3.552 MB / 0.8628 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.84, allocations: 0 / 0.8628 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01078/1.851, allocations: 1.644 MB / 0.8644 GB, free: 133.1 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 (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.001468/1.852, allocations: 232.6 kB / 0.8646 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01768/1.87, allocations: 9.074 MB / 0.8735 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.87, allocations: 7.5 kB / 0.8735 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007577/1.878, allocations: 3.865 MB / 0.8773 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/1.883, allocations: 0.6201 MB / 0.8779 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.915, allocations: 18.18 MB / 0.8956 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007155/1.922, allocations: 4.94 MB / 0.9005 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007868/1.93, allocations: 2.684 MB / 0.9031 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.932, allocations: 379.3 kB / 0.9034 GB, free: 109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.943e-06/1.932, allocations: 4 kB / 0.9034 GB, free: 109 MB / 0.4981 GB Notification: Performance of Templates: time 0.09868/2.031, allocations: 63.7 MB / 0.9656 GB, free: 45.34 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: