Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0007939/0.0007936, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.749/1.749, allocations: 205.4 MB / 222.4 MB, free: 5.77 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.3975/0.3975, allocations: 40 MB / 310.7 MB, free: 9.773 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.0005594/0.0005595, allocations: 16 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1516, allocations: 57.95 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3674/0.519, allocations: 87.52 MB / 0.5126 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06381/0.5829, allocations: 17.3 MB / 0.5295 GB, free: 120 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02828/0.6113, allocations: 382.9 kB / 0.5299 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004134/0.6155, allocations: 0.6108 MB / 0.5305 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.6271, allocations: 2.427 MB / 0.5328 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.6309, allocations: 0.9511 MB / 0.5338 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01842/0.6494, allocations: 9.689 MB / 0.5432 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01559/0.6651, allocations: 8.097 MB / 0.5511 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.6707, allocations: 1.809 MB / 0.5529 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00706/0.6778, allocations: 3.102 MB / 0.5559 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.6802, allocations: 243.9 kB / 0.5562 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.6851, allocations: 1.307 MB / 0.5575 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005828/0.6909, allocations: 2.746 MB / 0.5601 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009333/0.7003, allocations: 3.149 MB / 0.5632 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.7177, allocations: 10.58 MB / 0.5735 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7177, allocations: 0 / 0.5735 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.7178, allocations: 4 kB / 0.5735 GB, free: 12.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005427/0.7183, allocations: 0 / 0.5735 GB, free: 12.11 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.02033/0.7387, allocations: 6.172 MB / 0.5796 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.7387, allocations: 8.031 kB / 0.5796 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.7536, allocations: 2.847 MB / 0.5824 GB, free: 2.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.7672, allocations: 4.276 MB / 0.5865 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/0.7678, allocations: 385.6 kB / 0.5869 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.7708, allocations: 0.4996 MB / 0.5874 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04156/0.8124, allocations: 16.43 MB / 0.6034 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004673/0.8129, allocations: 63.42 kB / 0.6035 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/0.8158, allocations: 231.8 kB / 0.6037 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006652/0.8225, allocations: 3.158 MB / 0.6068 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/0.856, allocations: 14.29 MB / 0.6208 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3943/1.25, allocations: 59.16 MB / 0.6785 GB, free: 103.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.27, allocations: 7.185 MB / 0.6855 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007489/1.277, allocations: 4.49 MB / 0.6899 GB, free: 99.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02917/1.307, allocations: 15.45 MB / 0.705 GB, free: 92.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.836e-05/1.307, allocations: 68.5 kB / 0.7051 GB, free: 92.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.703e-06/1.307, allocations: 0 / 0.7051 GB, free: 92.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.0832/1.39, allocations: 32.8 MB / 0.7371 GB, free: 70.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.39, allocations: 214.2 kB / 0.7373 GB, free: 69.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007152/1.397, allocations: 5.356 MB / 0.7425 GB, free: 64.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007544/1.398, allocations: 77.7 kB / 0.7426 GB, free: 64.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/1.4, allocations: 4.335 MB / 0.7469 GB, free: 60.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.402, allocations: 1.279 MB / 0.7481 GB, free: 58.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007993/1.402, allocations: 0.7199 MB / 0.7488 GB, free: 58.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.402, allocations: 305.1 kB / 0.7491 GB, free: 57.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/1.407, allocations: 3.921 MB / 0.7529 GB, free: 53.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006942/1.414, allocations: 8.423 MB / 0.7611 GB, free: 43.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/1.428, allocations: 13.23 MB / 0.7741 GB, free: 27.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.428, allocations: 48 kB / 0.7741 GB, free: 27.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02348/1.452, allocations: 14.26 MB / 0.788 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/1.452, allocations: 72 kB / 0.7881 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/1.452, allocations: 156 kB / 0.7883 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/1.457, allocations: 2.258 MB / 0.7905 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006785/1.464, allocations: 1.992 MB / 0.7924 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.48, allocations: 13.49 MB / 0.8056 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007822/1.488, allocations: 0.5072 MB / 0.8061 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.489, allocations: 483.9 kB / 0.8065 GB, free: 10.21 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.006323/1.496, allocations: 3.087 MB / 0.8096 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.497, allocations: 0.4936 MB / 0.81 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3026/1.8, allocations: 8.402 MB / 0.8182 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/1.8, allocations: 37.3 kB / 0.8183 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/1.8, allocations: 10.59 kB / 0.8183 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/1.8, allocations: 15.38 kB / 0.8183 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.829, allocations: 17.14 MB / 0.835 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/1.829, allocations: 0 / 0.835 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.833, allocations: 0.6174 MB / 0.8357 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/1.838, allocations: 2.029 MB / 0.8376 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005771/1.838, allocations: 63.48 kB / 0.8377 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/1.856, allocations: 12.73 MB / 0.8501 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.856, allocations: 1.344 kB / 0.8501 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02678/1.883, allocations: 13.15 MB / 0.863 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004596/1.887, allocations: 1.15 MB / 0.8641 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.889, allocations: 56.62 kB / 0.8641 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/1.893, allocations: 269.1 kB / 0.8644 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007708/1.894, allocations: 195 kB / 0.8646 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/1.894, allocations: 90.16 kB / 0.8647 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006792/1.901, allocations: 3.368 MB / 0.868 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.32e-07/1.901, allocations: 0 / 0.868 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008865/1.91, allocations: 1.683 MB / 0.8696 GB, free: 128 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.0009271/1.911, allocations: 207 kB / 0.8698 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01536/1.926, allocations: 9.529 MB / 0.8791 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.926, allocations: 0 / 0.8791 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006528/1.933, allocations: 4.106 MB / 0.8831 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.937, allocations: 0.6526 MB / 0.8838 GB, free: 121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/1.964, allocations: 19.21 MB / 0.9025 GB, free: 102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006098/1.971, allocations: 4.802 MB / 0.9072 GB, free: 97.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006937/1.978, allocations: 2.642 MB / 0.9098 GB, free: 94.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.979, allocations: 375.3 kB / 0.9101 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.979, allocations: 4 kB / 0.9102 GB, free: 94.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.1052/2.084, allocations: 66.04 MB / 0.9746 GB, free: 28.15 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: