Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006705/0.006706, allocations: 175.6 kB / 15.12 MB, free: 5.973 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.586/1.586, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.001972/0.001972, allocations: 124.6 kB / 255.6 MB, free: 10.16 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.2014/0.2014, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 11.09 kB / 406.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 54.88 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3979/0.511, allocations: 100.9 MB / 0.5487 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.5113, allocations: 79.33 kB / 0.5488 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2754/0.7867, allocations: 114.4 MB / 0.6605 GB, free: 14.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7868, allocations: 3.938 kB / 0.6605 GB, free: 14.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003422/0.7871, allocations: 104 kB / 0.6606 GB, free: 14.33 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02454/0.8117, allocations: 5.944 MB / 0.6664 GB, free: 8.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.726e-05/0.8118, allocations: 8.031 kB / 0.6665 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0289/0.8407, allocations: 6.946 MB / 0.6732 GB, free: 1.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0212/0.8619, allocations: 6.903 MB / 0.68 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006324/0.8626, allocations: 418.9 kB / 0.6804 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003406/0.866, allocations: 0.5466 MB / 0.6809 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/0.9009, allocations: 13.34 MB / 0.6939 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005029/0.9014, allocations: 75.28 kB / 0.694 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003001/0.9045, allocations: 271.9 kB / 0.6943 GB, free: 10.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.9066, allocations: 1.258 MB / 0.6955 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.9297, allocations: 10.66 MB / 0.7059 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3104/1.24, allocations: 59.65 MB / 0.7642 GB, free: 55.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.251, allocations: 4.648 MB / 0.7687 GB, free: 54.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/1.261, allocations: 6.51 MB / 0.7751 GB, free: 53.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.262, allocations: 53.09 kB / 0.7751 GB, free: 53.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 4.328e-06/1.262, allocations: 0 / 0.7751 GB, free: 53.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.03401/1.296, allocations: 16.91 MB / 0.7916 GB, free: 48.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/1.296, allocations: 229.1 kB / 0.7918 GB, free: 47.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00664/1.302, allocations: 5.2 MB / 0.7969 GB, free: 47.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000347/1.303, allocations: 60.36 kB / 0.797 GB, free: 47.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.305, allocations: 4.129 MB / 0.801 GB, free: 45.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007233/1.306, allocations: 0.7672 MB / 0.8018 GB, free: 45.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/1.306, allocations: 144.6 kB / 0.8019 GB, free: 45.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/1.306, allocations: 0.6064 MB / 0.8025 GB, free: 44.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/1.309, allocations: 2.303 MB / 0.8047 GB, free: 44.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/1.314, allocations: 6.783 MB / 0.8114 GB, free: 39.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/1.319, allocations: 3.872 MB / 0.8151 GB, free: 39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-05/1.319, allocations: 47.97 kB / 0.8152 GB, free: 39 MB / 490.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.01264/1.332, allocations: 9.259 MB / 0.8242 GB, free: 36.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.887e-05/1.332, allocations: 75.34 kB / 0.8243 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.332, allocations: 161.7 kB / 0.8245 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.333, allocations: 0.6183 MB / 0.8251 GB, free: 36.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004619/1.338, allocations: 1.64 MB / 0.8267 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/1.343, allocations: 5.811 MB / 0.8323 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/1.348, allocations: 390.9 kB / 0.8327 GB, free: 31.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008666/1.349, allocations: 448.6 kB / 0.8331 GB, free: 31.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (882): * Single equations (assignments): 877 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004336/1.354, allocations: 2.693 MB / 0.8358 GB, free: 30.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009874/1.355, allocations: 486.2 kB / 0.8362 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/1.359, allocations: 3.059 MB / 0.8392 GB, free: 29.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/1.359, allocations: 29.48 kB / 0.8393 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.359, allocations: 6.719 kB / 0.8393 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.359, allocations: 7.406 kB / 0.8393 GB, free: 29.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.375, allocations: 8.471 MB / 0.8475 GB, free: 25.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/1.375, allocations: 3.438 kB / 0.8475 GB, free: 25.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.377, allocations: 323.8 kB / 0.8479 GB, free: 25.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/1.378, allocations: 363.6 kB / 0.8482 GB, free: 25.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.378, allocations: 43.06 kB / 0.8482 GB, free: 25.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004289/1.382, allocations: 5.177 MB / 0.8533 GB, free: 22.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.382, allocations: 7.906 kB / 0.8533 GB, free: 22.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/1.39, allocations: 6.144 MB / 0.8593 GB, free: 18.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/1.392, allocations: 0.8045 MB / 0.8601 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/1.393, allocations: 35.75 kB / 0.8601 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.394, allocations: 93.61 kB / 0.8602 GB, free: 17.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.395, allocations: 119 kB / 0.8603 GB, free: 17.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.395, allocations: 59.78 kB / 0.8604 GB, free: 17.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005288/1.4, allocations: 3.727 MB / 0.864 GB, free: 14.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.4, allocations: 0 / 0.864 GB, free: 14.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006474/1.407, allocations: 1.225 MB / 0.8652 GB, free: 13.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004282/1.407, allocations: 169.4 kB / 0.8654 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007576/1.415, allocations: 5.705 MB / 0.8709 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.415, allocations: 3.562 kB / 0.871 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.417, allocations: 1.718 MB / 0.8726 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/1.42, allocations: 0.6059 MB / 0.8732 GB, free: 6.004 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/1.439, allocations: 13.74 MB / 0.8866 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005207/1.444, allocations: 4.229 MB / 0.8908 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006299/1.451, allocations: 2.315 MB / 0.893 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.452, allocations: 322.1 kB / 0.8933 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/1.452, allocations: 0 / 0.8933 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of Templates: time 0.3012/1.753, allocations: 43.44 MB / 0.9358 GB, free: 101.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)