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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001371/0.001371, allocations: 191.4 kB / 16.13 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.659/1.659, 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.2+maint.om/package.mo): time 0.3762/0.3762, allocations: 39.94 MB / 309.3 MB, free: 9.328 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.001428/0.001428, allocations: 58.42 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 56.89 MB / 433.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3608/0.5233, allocations: 42.4 MB / 476.2 MB, free: 29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02469/0.548, allocations: 9.2 MB / 485.4 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/0.5605, allocations: 179.5 kB / 485.6 MB, free: 23.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.5655, allocations: 2.341 MB / 487.9 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006046/0.5716, allocations: 1.869 MB / 489.8 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.5736, allocations: 0.5377 MB / 490.3 MB, free: 21.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008977/0.5826, allocations: 6.13 MB / 496.5 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.59, allocations: 3.563 MB / 0.4883 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.5948, allocations: 1.421 MB / 0.4897 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006482/0.6013, allocations: 2.353 MB / 0.492 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.6036, allocations: 258.9 kB / 0.4922 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005305/0.6089, allocations: 1.189 MB / 0.4934 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004421/0.6134, allocations: 2.032 MB / 0.4954 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007821/0.6212, allocations: 2.408 MB / 0.4977 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.6367, allocations: 7.825 MB / 0.5054 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.6367, allocations: 3.984 kB / 0.5054 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6367, allocations: 5.375 kB / 0.5054 GB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004837/0.6372, allocations: 0 / 0.5054 GB, free: 10.59 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.02575/0.663, allocations: 5.447 MB / 0.5107 GB, free: 6.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.6631, allocations: 10.38 kB / 0.5107 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.6744, allocations: 3.195 MB / 0.5138 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006769/0.6812, allocations: 2.382 MB / 0.5162 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.6815, allocations: 270.9 kB / 0.5164 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.683, allocations: 365.3 kB / 0.5168 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.7105, allocations: 12.66 MB / 0.5291 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.7107, allocations: 35.72 kB / 0.5292 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009144/0.7116, allocations: 167.8 kB / 0.5293 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004572/0.7162, allocations: 2.766 MB / 0.532 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.7445, allocations: 11.6 MB / 0.5434 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07646/0.821, allocations: 40.47 MB / 0.5829 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.832, allocations: 5.091 MB / 0.5879 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/0.8355, allocations: 2.407 MB / 0.5902 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.847, allocations: 6.843 MB / 0.5969 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.8471, allocations: 60.44 kB / 0.5969 GB, free: 15.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=235): time 4.779e-06/0.8472, allocations: 0 / 0.5969 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=244): time 0.03798/0.8851, allocations: 16.48 MB / 0.613 GB, free: 15.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.8852, allocations: 69.41 kB / 0.6131 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005372/0.8906, allocations: 3.214 MB / 0.6162 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006124/0.8913, allocations: 61.61 kB / 0.6163 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.8938, allocations: 3.297 MB / 0.6195 GB, free: 8.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.8951, allocations: 0.9175 MB / 0.6204 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/0.8969, allocations: 1.238 MB / 0.6216 GB, free: 6.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.897, allocations: 301.1 kB / 0.6219 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/0.9005, allocations: 2.433 MB / 0.6243 GB, free: 3.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3668/1.267, allocations: 5.834 MB / 0.63 GB, free: 112 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/1.279, allocations: 8.969 MB / 0.6388 GB, free: 107.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/1.279, allocations: 38.25 kB / 0.6388 GB, free: 107.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01923/1.298, allocations: 9.041 MB / 0.6476 GB, free: 107.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.298, allocations: 55.81 kB / 0.6477 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/1.298, allocations: 119.9 kB / 0.6478 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/1.302, allocations: 1.131 MB / 0.6489 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/1.307, allocations: 1.395 MB / 0.6503 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005965/1.313, allocations: 4.593 MB / 0.6547 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005905/1.319, allocations: 335.4 kB / 0.6551 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/1.32, allocations: 356.7 kB / 0.6554 GB, free: 104.3 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.007146/1.328, allocations: 2.424 MB / 0.6578 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000939/1.329, allocations: 304.3 kB / 0.6581 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.339, allocations: 4.51 MB / 0.6625 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-05/1.339, allocations: 46.78 kB / 0.6625 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/1.339, allocations: 1.781 kB / 0.6625 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/1.339, allocations: 9.547 kB / 0.6625 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/1.362, allocations: 10.61 MB / 0.6729 GB, free: 98.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.362, allocations: 7.719 kB / 0.6729 GB, free: 98.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.363, allocations: 393.6 kB / 0.6733 GB, free: 98.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/1.365, allocations: 0.6753 MB / 0.6739 GB, free: 98.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/1.366, allocations: 48.7 kB / 0.674 GB, free: 98.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/1.368, allocations: 2.435 MB / 0.6763 GB, free: 96.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.368, allocations: 12.38 kB / 0.6764 GB, free: 96.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00898/1.377, allocations: 6.88 MB / 0.6831 GB, free: 94.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.378, allocations: 353.3 kB / 0.6834 GB, free: 93.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/1.379, allocations: 38.56 kB / 0.6834 GB, free: 93.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.38, allocations: 142.9 kB / 0.6836 GB, free: 93.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/1.38, allocations: 138.2 kB / 0.6837 GB, free: 93.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.381, allocations: 70.69 kB / 0.6838 GB, free: 93.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003141/1.384, allocations: 1.948 MB / 0.6857 GB, free: 92.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.203e-06/1.384, allocations: 0 / 0.6857 GB, free: 92.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007167/1.391, allocations: 1.09 MB / 0.6868 GB, free: 91.39 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.0006001/1.392, allocations: 187.9 kB / 0.6869 GB, free: 91.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008712/1.4, allocations: 5.912 MB / 0.6927 GB, free: 86.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.4, allocations: 64 / 0.6927 GB, free: 86.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/1.404, allocations: 2.456 MB / 0.6951 GB, free: 84.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.406, allocations: 456.2 kB / 0.6955 GB, free: 83.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.429, allocations: 13.93 MB / 0.7091 GB, free: 70.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004629/1.434, allocations: 3.75 MB / 0.7128 GB, free: 66.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004965/1.439, allocations: 2.071 MB / 0.7148 GB, free: 64.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.44, allocations: 243.4 kB / 0.7151 GB, free: 64.21 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.44, allocations: 2.625 kB / 0.7151 GB, free: 64.21 MB / 494.1 MB Notification: Performance of Templates: time 0.06432/1.504, allocations: 35.61 MB / 0.7498 GB, free: 28.77 MB / 494.1 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)