Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006608/0.006608, allocations: 174.8 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.665/1.665, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001923/0.001923, allocations: 116.6 kB / 255.6 MB, free: 10.14 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.2101/0.2101, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004945, allocations: 12.16 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.577, allocations: 101.7 MB / 0.5495 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5773, allocations: 88.3 kB / 0.5496 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2274/0.8046, allocations: 97.44 MB / 0.6448 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8047, allocations: 0 / 0.6448 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002164/0.8049, allocations: 92 kB / 0.6449 GB, free: 14.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.0207/0.8256, allocations: 4.787 MB / 0.6495 GB, free: 9.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.8257, allocations: 8.031 kB / 0.6495 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.8422, allocations: 3.616 MB / 0.6531 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/0.859, allocations: 4.914 MB / 0.6579 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/0.8597, allocations: 374.2 kB / 0.6582 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004411/0.8642, allocations: 0.4919 MB / 0.6587 GB, free: 184 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/0.9015, allocations: 12.2 MB / 0.6706 GB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004063/0.902, allocations: 39.64 kB / 0.6707 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/0.905, allocations: 219.9 kB / 0.6709 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/0.9074, allocations: 1.318 MB / 0.6722 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/0.9352, allocations: 11.51 MB / 0.6834 GB, free: 6.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3884/1.324, allocations: 41.88 MB / 0.7243 GB, free: 92.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/1.335, allocations: 4.948 MB / 0.7291 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/1.348, allocations: 6.56 MB / 0.7355 GB, free: 89.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.348, allocations: 53.81 kB / 0.7356 GB, free: 89.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 4.929e-06/1.349, allocations: 1.219 kB / 0.7356 GB, free: 89.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=237): time 0.03491/1.383, allocations: 16.77 MB / 0.752 GB, free: 87.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.384, allocations: 73.28 kB / 0.752 GB, free: 87.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.387, allocations: 2.84 MB / 0.7548 GB, free: 87.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002912/1.388, allocations: 54.17 kB / 0.7549 GB, free: 87.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.389, allocations: 3.279 MB / 0.7581 GB, free: 85.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.391, allocations: 0.8878 MB / 0.7589 GB, free: 84.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.391, allocations: 120.3 kB / 0.7591 GB, free: 84.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004124/1.392, allocations: 0.5624 MB / 0.7596 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/1.395, allocations: 2.379 MB / 0.7619 GB, free: 84.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/1.399, allocations: 5.74 MB / 0.7675 GB, free: 80.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/1.404, allocations: 3.682 MB / 0.7711 GB, free: 80.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/1.404, allocations: 34.03 kB / 0.7712 GB, free: 80.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01551/1.42, allocations: 8.924 MB / 0.7799 GB, free: 79.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/1.42, allocations: 55.22 kB / 0.7799 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/1.42, allocations: 122 kB / 0.78 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.423, allocations: 1.157 MB / 0.7812 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/1.428, allocations: 1.37 MB / 0.7825 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/1.433, allocations: 4.66 MB / 0.7871 GB, free: 76.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.437, allocations: 325.4 kB / 0.7874 GB, free: 76.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.438, allocations: 354.2 kB / 0.7877 GB, free: 76.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * Array equations: 6 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.004876/1.443, allocations: 2.415 MB / 0.7901 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/1.444, allocations: 298.9 kB / 0.7904 GB, free: 75.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006552/1.45, allocations: 4.437 MB / 0.7947 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/1.45, allocations: 45.05 kB / 0.7947 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.45, allocations: 1.562 kB / 0.7947 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.45, allocations: 11.2 kB / 0.7947 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/1.467, allocations: 10.46 MB / 0.805 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.467, allocations: 3.969 kB / 0.805 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.469, allocations: 391.8 kB / 0.8053 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/1.471, allocations: 0.6711 MB / 0.806 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/1.471, allocations: 54.5 kB / 0.806 GB, free: 69.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/1.473, allocations: 2.434 MB / 0.8084 GB, free: 68.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.473, allocations: 6.75 kB / 0.8084 GB, free: 68.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008682/1.482, allocations: 7.192 MB / 0.8154 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009198/1.483, allocations: 350.4 kB / 0.8158 GB, free: 62.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/1.483, allocations: 44 kB / 0.8158 GB, free: 62.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.484, allocations: 143 kB / 0.816 GB, free: 62.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.485, allocations: 130 kB / 0.8161 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.485, allocations: 65.88 kB / 0.8161 GB, free: 62.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003453/1.488, allocations: 1.926 MB / 0.818 GB, free: 60.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.488, allocations: 0 / 0.818 GB, free: 60.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00604/1.494, allocations: 1.079 MB / 0.8191 GB, free: 59.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (191): * Single equations (assignments): 182 * 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.0004986/1.495, allocations: 194.2 kB / 0.8193 GB, free: 59.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008039/1.503, allocations: 5.812 MB / 0.8249 GB, free: 54.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.503, allocations: 0 / 0.8249 GB, free: 54.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.506, allocations: 2.416 MB / 0.8273 GB, free: 52.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.509, allocations: 419.6 kB / 0.8277 GB, free: 51.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.528, allocations: 13.43 MB / 0.8408 GB, free: 39.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004269/1.533, allocations: 3.83 MB / 0.8446 GB, free: 36.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004644/1.537, allocations: 2.052 MB / 0.8466 GB, free: 35.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007405/1.538, allocations: 237.9 kB / 0.8468 GB, free: 35.27 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/1.538, allocations: 4 kB / 0.8468 GB, free: 35.26 MB / 490.7 MB Notification: Performance of Templates: time 0.06173/1.6, allocations: 34.14 MB / 0.8801 GB, free: 8.645 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)