Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007958/0.0007958, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001008/0.001008, allocations: 172.7 kB / 15.95 MB, free: 208 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.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.3245/0.3245, allocations: 38.04 MB / 308.4 MB, free: 10.51 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.0005707/0.0005708, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1256, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2868/0.4124, allocations: 84.85 MB / 0.5067 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03878/0.4512, allocations: 17.18 MB / 0.5234 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02191/0.4732, allocations: 399.2 kB / 0.5238 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.488, allocations: 4.468 MB / 0.5282 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03725/0.5253, allocations: 12.93 MB / 0.5408 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.531, allocations: 0.9118 MB / 0.5417 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04538/0.5764, allocations: 35.99 MB / 0.5768 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.5871, allocations: 7.091 MB / 0.5838 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.5913, allocations: 1.942 MB / 0.5857 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.5961, allocations: 3.147 MB / 0.5887 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009812/0.5971, allocations: 236 kB / 0.589 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.601, allocations: 1.116 MB / 0.59 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004399/0.6054, allocations: 2.758 MB / 0.5927 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.608, allocations: 1.318 MB / 0.594 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009938/0.6179, allocations: 8.892 MB / 0.6027 GB, free: 15.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6179, allocations: 4 kB / 0.6027 GB, free: 15.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6179, allocations: 0 / 0.6027 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003874/0.6183, allocations: 0 / 0.6027 GB, free: 15.39 MB / 478.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.01384/0.6322, allocations: 6.355 MB / 0.6089 GB, free: 8.953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6322, allocations: 12.03 kB / 0.6089 GB, free: 8.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.6441, allocations: 2.888 MB / 0.6118 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/0.6527, allocations: 4.229 MB / 0.6159 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003291/0.653, allocations: 377.8 kB / 0.6162 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.6547, allocations: 0.5073 MB / 0.6167 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2583/0.913, allocations: 16.39 MB / 0.6327 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/0.9133, allocations: 61.09 kB / 0.6328 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007525/0.9141, allocations: 243.7 kB / 0.633 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.9185, allocations: 3.159 MB / 0.6361 GB, free: 143.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/0.9457, allocations: 14.09 MB / 0.6499 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08124/1.027, allocations: 60.64 MB / 0.7091 GB, free: 99.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/1.045, allocations: 8.034 MB / 0.7169 GB, free: 95.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005258/1.05, allocations: 4.201 MB / 0.721 GB, free: 92.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/1.05, allocations: 54.64 kB / 0.7211 GB, free: 92.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.05, allocations: 64.56 kB / 0.7212 GB, free: 91.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.222e-06/1.05, allocations: 0 / 0.7212 GB, free: 91.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.08623/1.137, allocations: 35.39 MB / 0.7557 GB, free: 56.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/1.137, allocations: 214.1 kB / 0.7559 GB, free: 56.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.147, allocations: 6.331 MB / 0.7621 GB, free: 49.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001457/1.148, allocations: 73.7 kB / 0.7622 GB, free: 49.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003343/1.152, allocations: 4.545 MB / 0.7666 GB, free: 45.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.154, allocations: 1.243 MB / 0.7678 GB, free: 43.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.155, allocations: 174.7 kB / 0.768 GB, free: 43.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005804/1.155, allocations: 0.682 MB / 0.7687 GB, free: 43.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005837/1.161, allocations: 4.066 MB / 0.7726 GB, free: 38.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007724/1.169, allocations: 8.925 MB / 0.7813 GB, free: 27.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008519/1.178, allocations: 5.885 MB / 0.7871 GB, free: 21.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/1.178, allocations: 48 kB / 0.7871 GB, free: 21.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0268/1.205, allocations: 14.89 MB / 0.8017 GB, free: 6.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/1.205, allocations: 76 kB / 0.8018 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/1.205, allocations: 168 kB / 0.8019 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/1.21, allocations: 2.296 MB / 0.8042 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006791/1.217, allocations: 2.094 MB / 0.8062 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.234, allocations: 13.52 MB / 0.8194 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008159/1.242, allocations: 0.5422 MB / 0.8199 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/1.244, allocations: 0.5116 MB / 0.8204 GB, free: 3.328 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 (1084): * Single equations (assignments): 1079 * 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.00763/1.252, allocations: 3.156 MB / 0.8235 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2248/1.477, allocations: 0.5487 MB / 0.8241 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.496, allocations: 8.442 MB / 0.8323 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/1.496, allocations: 32.09 kB / 0.8323 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/1.496, allocations: 13.33 kB / 0.8323 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.709e-05/1.496, allocations: 17.05 kB / 0.8324 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03361/1.53, allocations: 17.4 MB / 0.8493 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.53, allocations: 5.75 kB / 0.8494 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/1.533, allocations: 0.6095 MB / 0.8499 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/1.538, allocations: 2.023 MB / 0.8519 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006987/1.539, allocations: 67 kB / 0.852 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.558, allocations: 12.72 MB / 0.8644 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.558, allocations: 8.219 kB / 0.8644 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02473/1.583, allocations: 13.48 MB / 0.8776 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003627/1.586, allocations: 1.254 MB / 0.8788 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001883/1.588, allocations: 59.97 kB / 0.8789 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/1.592, allocations: 288.1 kB / 0.8791 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008786/1.593, allocations: 200 kB / 0.8793 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005177/1.593, allocations: 90.5 kB / 0.8794 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007361/1.601, allocations: 4.015 MB / 0.8833 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.601, allocations: 0 / 0.8833 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01032/1.611, allocations: 1.74 MB / 0.885 GB, free: 128.1 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.001418/1.612, allocations: 211.9 kB / 0.8852 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.628, allocations: 9.838 MB / 0.8948 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.628, allocations: 0 / 0.8948 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006908/1.635, allocations: 4.125 MB / 0.8989 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/1.641, allocations: 0.6917 MB / 0.8995 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/1.669, allocations: 18.9 MB / 0.918 GB, free: 95.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/1.676, allocations: 4.861 MB / 0.9228 GB, free: 90.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006618/1.682, allocations: 2.916 MB / 0.9256 GB, free: 87.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.684, allocations: 399.3 kB / 0.926 GB, free: 87.23 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/1.684, allocations: 0 / 0.926 GB, free: 87.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.09562/1.779, allocations: 66.3 MB / 0.9907 GB, free: 21.02 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: