Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001336, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001875/0.001875, allocations: 193.5 kB / 16.13 MB, free: 6.609 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.587/1.587, allocations: 205.1 MB / 222 MB, free: 4.75 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.405/0.405, allocations: 37.97 MB / 307.3 MB, free: 10.06 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.001487/0.001488, allocations: 60.55 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1773, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.341/0.5183, allocations: 42.4 MB / 473.4 MB, free: 31.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02284/0.5413, allocations: 9.21 MB / 482.6 MB, free: 25.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009924/0.5512, allocations: 175.1 kB / 482.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.5556, allocations: 2.344 MB / 485.1 MB, free: 24.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.5611, allocations: 1.874 MB / 487 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.5627, allocations: 0.5262 MB / 487.5 MB, free: 23.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.5698, allocations: 6.131 MB / 493.7 MB, free: 21.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004817/0.5746, allocations: 3.563 MB / 497.2 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.5779, allocations: 1.428 MB / 498.7 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005574/0.5835, allocations: 2.355 MB / 0.4893 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.5851, allocations: 259.2 kB / 0.4895 GB, free: 19.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.5889, allocations: 1.181 MB / 0.4907 GB, free: 18.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.592, allocations: 2.029 MB / 0.4927 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00785/0.5998, allocations: 2.41 MB / 0.495 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.6174, allocations: 7.833 MB / 0.5027 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.6175, allocations: 1.25 kB / 0.5027 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6175, allocations: 0 / 0.5027 GB, free: 13.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005932/0.6181, allocations: 0 / 0.5027 GB, free: 13.42 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02121/0.6393, allocations: 5.454 MB / 0.508 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.6394, allocations: 8.281 kB / 0.508 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.6509, allocations: 3.196 MB / 0.5111 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007204/0.6581, allocations: 2.386 MB / 0.5134 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.6584, allocations: 271.2 kB / 0.5137 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.6599, allocations: 361.1 kB / 0.5141 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/0.6877, allocations: 12.66 MB / 0.5264 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.6879, allocations: 31.66 kB / 0.5264 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000677/0.6886, allocations: 167.8 kB / 0.5266 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004613/0.6932, allocations: 2.758 MB / 0.5293 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02735/0.7206, allocations: 11.61 MB / 0.5406 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07731/0.798, allocations: 40.49 MB / 0.5802 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.811, allocations: 5.076 MB / 0.5851 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004552/0.8157, allocations: 2.407 MB / 0.5875 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.8284, allocations: 6.851 MB / 0.5942 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.8285, allocations: 56.5 kB / 0.5942 GB, free: 4.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.901e-06/0.8285, allocations: 4 kB / 0.5942 GB, free: 4.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.04075/0.8692, allocations: 16.48 MB / 0.6103 GB, free: 3.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.8693, allocations: 73.41 kB / 0.6104 GB, free: 3.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/0.8746, allocations: 3.206 MB / 0.6135 GB, free: 132 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004353/0.8751, allocations: 57.7 kB / 0.6136 GB, free: 68 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/0.8776, allocations: 3.301 MB / 0.6168 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.8788, allocations: 0.9174 MB / 0.6177 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00187/0.8807, allocations: 1.238 MB / 0.6189 GB, free: 10.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8809, allocations: 309.1 kB / 0.6192 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.8845, allocations: 2.429 MB / 0.6216 GB, free: 7.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005973/0.8904, allocations: 5.831 MB / 0.6273 GB, free: 296 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3367/1.227, allocations: 8.986 MB / 0.636 GB, free: 139.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.475e-05/1.227, allocations: 32.59 kB / 0.6361 GB, free: 139.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01957/1.247, allocations: 9.03 MB / 0.6449 GB, free: 136.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/1.247, allocations: 60.03 kB / 0.6449 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/1.247, allocations: 123.4 kB / 0.6451 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/1.251, allocations: 1.123 MB / 0.6462 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.257, allocations: 1.401 MB / 0.6475 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/1.262, allocations: 4.592 MB / 0.652 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/1.268, allocations: 330.8 kB / 0.6523 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.27, allocations: 358.5 kB / 0.6527 GB, free: 133.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (756): * Single equations (assignments): 748 * Array equations: 6 * 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): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005764/1.276, allocations: 2.429 MB / 0.655 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.276, allocations: 303.6 kB / 0.6553 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/1.284, allocations: 4.511 MB / 0.6597 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/1.284, allocations: 45.92 kB / 0.6598 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.284, allocations: 5.312 kB / 0.6598 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.284, allocations: 10.36 kB / 0.6598 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/1.304, allocations: 10.62 MB / 0.6702 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.304, allocations: 5.312 kB / 0.6702 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.305, allocations: 395.4 kB / 0.6705 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/1.308, allocations: 0.6805 MB / 0.6712 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/1.308, allocations: 54.3 kB / 0.6713 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/1.31, allocations: 2.433 MB / 0.6736 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.31, allocations: 11.56 kB / 0.6736 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008915/1.319, allocations: 6.869 MB / 0.6804 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.32, allocations: 348.8 kB / 0.6807 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005257/1.321, allocations: 45.84 kB / 0.6807 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.322, allocations: 139.1 kB / 0.6809 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.323, allocations: 137.2 kB / 0.681 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.323, allocations: 65.36 kB / 0.6811 GB, free: 122.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003273/1.326, allocations: 1.958 MB / 0.683 GB, free: 122.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.326, allocations: 0 / 0.683 GB, free: 122.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007486/1.334, allocations: 1.078 MB / 0.684 GB, free: 122 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (197): * Single equations (assignments): 188 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008222/1.334, allocations: 191.7 kB / 0.6842 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009671/1.344, allocations: 5.914 MB / 0.69 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.344, allocations: 4 kB / 0.69 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/1.348, allocations: 2.456 MB / 0.6924 GB, free: 114.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.35, allocations: 461.7 kB / 0.6928 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.37, allocations: 13.92 MB / 0.7064 GB, free: 101.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/1.374, allocations: 3.755 MB / 0.7101 GB, free: 98.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004467/1.379, allocations: 2.06 MB / 0.7121 GB, free: 96.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/1.379, allocations: 247.4 kB / 0.7123 GB, free: 96.54 MB / 494.1 MB Notification: Performance of SimCode: time 1.183e-06/1.379, allocations: 0 / 0.7123 GB, free: 96.54 MB / 494.1 MB Notification: Performance of Templates: time 0.05868/1.438, allocations: 35.64 MB / 0.7471 GB, free: 61.02 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)