Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001962/0.001961, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.677/1.677, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001731/0.001731, allocations: 111.6 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1949/0.1949, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.104e-05, allocations: 0 / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.6631, allocations: 97.39 MB / 0.5328 GB, free: 87.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.6635, allocations: 74.22 kB / 0.5329 GB, free: 87.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2045/0.868, allocations: 92.98 MB / 0.6237 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8681, allocations: 0 / 0.6237 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002147/0.8683, allocations: 84 kB / 0.6238 GB, free: 0.5469 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01683/0.8851, allocations: 4.486 MB / 0.6281 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8852, allocations: 12.03 kB / 0.6282 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.9014, allocations: 3.593 MB / 0.6317 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.916, allocations: 4.8 MB / 0.6364 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.9164, allocations: 155.9 kB / 0.6365 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.9191, allocations: 271.9 kB / 0.6368 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01641/0.9356, allocations: 8.051 MB / 0.6446 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.9607, allocations: 10.56 MB / 0.6549 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.9609, allocations: 35.83 kB / 0.655 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006479/0.9616, allocations: 12 kB / 0.655 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001723/0.9633, allocations: 1.248 MB / 0.6562 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/1.017, allocations: 35.72 MB / 0.6911 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/1.022, allocations: 3.809 MB / 0.6948 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/1.025, allocations: 2.077 MB / 0.6968 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/1.026, allocations: 1.319 MB / 0.6981 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/1.026, allocations: 56.56 kB / 0.6982 GB, free: 2.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=246): time 6.001e-06/1.026, allocations: 4 kB / 0.6982 GB, free: 2.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=273): time 0.2925/1.319, allocations: 11.24 MB / 0.7092 GB, free: 102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/1.319, allocations: 78.22 kB / 0.7092 GB, free: 102 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/1.324, allocations: 2.517 MB / 0.7117 GB, free: 101.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004915/1.324, allocations: 26.7 kB / 0.7117 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002377/1.327, allocations: 3.185 MB / 0.7148 GB, free: 100 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.328, allocations: 0.9858 MB / 0.7158 GB, free: 99.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/1.328, allocations: 2.641 kB / 0.7158 GB, free: 99.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004658/1.329, allocations: 0.5844 MB / 0.7164 GB, free: 99.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004593/1.334, allocations: 2.352 MB / 0.7187 GB, free: 99.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006407/1.34, allocations: 5.853 MB / 0.7244 GB, free: 94.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/1.348, allocations: 3.759 MB / 0.728 GB, free: 94.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001923/1.348, allocations: 33.56 kB / 0.7281 GB, free: 94.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02176/1.37, allocations: 8.381 MB / 0.7363 GB, free: 94.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.37, allocations: 60.94 kB / 0.7363 GB, free: 94.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.37, allocations: 129.1 kB / 0.7364 GB, free: 94.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004866/1.375, allocations: 1.072 MB / 0.7375 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006692/1.382, allocations: 1.479 MB / 0.7389 GB, free: 93.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/1.384, allocations: 2.407 MB / 0.7413 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/1.39, allocations: 212.2 kB / 0.7415 GB, free: 92.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006758/1.391, allocations: 382.4 kB / 0.7418 GB, free: 92.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (793): * Single equations (assignments): 784 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009463/1.392, allocations: 429.8 kB / 0.7423 GB, free: 92.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005695/1.392, allocations: 301.8 kB / 0.7425 GB, free: 92.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.404, allocations: 5.132 MB / 0.7476 GB, free: 91.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-05/1.404, allocations: 49.64 kB / 0.7476 GB, free: 91.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.404, allocations: 0 / 0.7476 GB, free: 91.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/1.404, allocations: 17.56 kB / 0.7476 GB, free: 91.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.427, allocations: 10.82 MB / 0.7582 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.427, allocations: 7.781 kB / 0.7582 GB, free: 87.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.429, allocations: 453.4 kB / 0.7586 GB, free: 87.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/1.434, allocations: 0.9055 MB / 0.7595 GB, free: 87.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/1.434, allocations: 44.36 kB / 0.7596 GB, free: 87.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/1.437, allocations: 2.197 MB / 0.7617 GB, free: 86.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.437, allocations: 19.16 kB / 0.7617 GB, free: 86.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.451, allocations: 8.322 MB / 0.7698 GB, free: 80.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008498/1.452, allocations: 344.4 kB / 0.7702 GB, free: 79.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/1.453, allocations: 22.53 kB / 0.7702 GB, free: 79.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/1.455, allocations: 108.6 kB / 0.7703 GB, free: 79.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003766/1.455, allocations: 171.5 kB / 0.7705 GB, free: 79.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.455, allocations: 86.09 kB / 0.7705 GB, free: 79.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002664/1.458, allocations: 1.647 MB / 0.7722 GB, free: 78.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.458, allocations: 0 / 0.7722 GB, free: 78.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003685/1.462, allocations: 0.9276 MB / 0.7731 GB, free: 77.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 215 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003522/1.462, allocations: 156.7 kB / 0.7732 GB, free: 77.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007239/1.469, allocations: 6.174 MB / 0.7792 GB, free: 71.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.469, allocations: 0 / 0.7792 GB, free: 71.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003436/1.473, allocations: 2.637 MB / 0.7818 GB, free: 69.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.474, allocations: 344 kB / 0.7821 GB, free: 69.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.487, allocations: 9.703 MB / 0.7916 GB, free: 60.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/1.49, allocations: 3.763 MB / 0.7953 GB, free: 57.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004596/1.495, allocations: 2.278 MB / 0.7975 GB, free: 56.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/1.496, allocations: 274.7 kB / 0.7978 GB, free: 55.81 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/1.496, allocations: 0 / 0.7978 GB, free: 55.81 MB / 458.7 MB Notification: Performance of Templates: time 0.04823/1.544, allocations: 31.52 MB / 0.8286 GB, free: 28.78 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)