Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001632/0.001632, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.508/1.508, allocations: 205.1 MB / 222 MB, free: 4.789 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.3767/0.3767, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.00137/0.00137, allocations: 60.53 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1448, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3438/0.4886, allocations: 34.07 MB / 465.1 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01997/0.5086, allocations: 7.718 MB / 472.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/0.519, allocations: 136.5 kB / 472.9 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.5232, allocations: 1.819 MB / 474.8 MB, free: 32.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.5291, allocations: 1.749 MB / 476.5 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.5308, allocations: 450.7 kB / 477 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007895/0.5387, allocations: 5.547 MB / 482.5 MB, free: 29.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/0.5432, allocations: 2.865 MB / 485.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.5452, allocations: 1.219 MB / 486.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.5479, allocations: 2.063 MB / 488.6 MB, free: 27.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007836/0.5487, allocations: 213.7 kB / 488.9 MB, free: 27.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.552, allocations: 1.099 MB / 490 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.5543, allocations: 1.776 MB / 491.7 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.557, allocations: 2.117 MB / 493.8 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.5705, allocations: 6.927 MB / 0.489 GB, free: 22.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.5706, allocations: 0 / 0.489 GB, free: 22.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5706, allocations: 4 kB / 0.489 GB, free: 22.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003675/0.571, allocations: 3.938 kB / 0.489 GB, free: 22.61 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.0185/0.5895, allocations: 4.89 MB / 0.4938 GB, free: 19.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5896, allocations: 13.5 kB / 0.4938 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.6014, allocations: 3.132 MB / 0.4969 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008032/0.6094, allocations: 2.167 MB / 0.499 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.6098, allocations: 225.8 kB / 0.4992 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.6118, allocations: 297.5 kB / 0.4995 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02775/0.6396, allocations: 11.46 MB / 0.5107 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.6397, allocations: 23.12 kB / 0.5107 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004435/0.6402, allocations: 139.5 kB / 0.5108 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003826/0.644, allocations: 2.632 MB / 0.5134 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/0.6661, allocations: 10.7 MB / 0.5239 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07493/0.7411, allocations: 36.45 MB / 0.5595 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009684/0.7509, allocations: 4.411 MB / 0.5638 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.7548, allocations: 2.159 MB / 0.5659 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.7565, allocations: 1.311 MB / 0.5672 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.7566, allocations: 56.48 kB / 0.5672 GB, free: 192 kB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 9.268e-06/0.7566, allocations: 0 / 0.5672 GB, free: 192 kB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.04385/0.8004, allocations: 13.89 MB / 0.5808 GB, free: 2.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.8006, allocations: 77.34 kB / 0.5809 GB, free: 2.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/0.8055, allocations: 2.84 MB / 0.5836 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000694/0.8063, allocations: 61.7 kB / 0.5837 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002602/0.8089, allocations: 2.938 MB / 0.5866 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002209/0.8111, allocations: 0.9752 MB / 0.5875 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002344/0.8135, allocations: 1.159 MB / 0.5886 GB, free: 10.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8136, allocations: 301.1 kB / 0.5889 GB, free: 9.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/0.8175, allocations: 2.373 MB / 0.5912 GB, free: 7.414 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006095/0.8236, allocations: 5.541 MB / 0.5967 GB, free: 328 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.836, allocations: 8.671 MB / 0.6051 GB, free: 6.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/0.8362, allocations: 36 kB / 0.6052 GB, free: 6.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02082/0.857, allocations: 8.631 MB / 0.6136 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.8572, allocations: 55.94 kB / 0.6136 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.8573, allocations: 112 kB / 0.6137 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/0.8611, allocations: 1.04 MB / 0.6148 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/0.8666, allocations: 1.337 MB / 0.6161 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.8699, allocations: 2.462 MB / 0.6185 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/0.8753, allocations: 323.8 kB / 0.6188 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/0.8768, allocations: 332 kB / 0.6191 GB, free: 7.629 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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 (727): * Single equations (assignments): 718 * 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 prepare postOptimizeDAE: time 0.008895/0.8857, allocations: 2.278 MB / 0.6213 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/0.8867, allocations: 284.2 kB / 0.6216 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3827/1.269, allocations: 5.085 MB / 0.6266 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/1.27, allocations: 47.02 kB / 0.6266 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.27, allocations: 1.438 kB / 0.6266 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-05/1.27, allocations: 10.08 kB / 0.6266 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.292, allocations: 11.59 MB / 0.6379 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.292, allocations: 6.156 kB / 0.6379 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.293, allocations: 423.1 kB / 0.6383 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/1.296, allocations: 0.9069 MB / 0.6392 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.297, allocations: 59.08 kB / 0.6393 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/1.299, allocations: 2.278 MB / 0.6415 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.299, allocations: 11.03 kB / 0.6415 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.311, allocations: 7.529 MB / 0.6489 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.312, allocations: 336 kB / 0.6492 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/1.313, allocations: 55.67 kB / 0.6492 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.314, allocations: 137 kB / 0.6494 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/1.315, allocations: 164.3 kB / 0.6495 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.315, allocations: 77.12 kB / 0.6496 GB, free: 140.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00319/1.318, allocations: 1.747 MB / 0.6513 GB, free: 139.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.01e-07/1.318, allocations: 0 / 0.6513 GB, free: 139.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007145/1.325, allocations: 1.004 MB / 0.6523 GB, free: 139.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * 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.0008783/1.326, allocations: 202.6 kB / 0.6525 GB, free: 139.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01367/1.34, allocations: 6.201 MB / 0.6585 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.34, allocations: 0.9844 kB / 0.6585 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00615/1.346, allocations: 2.611 MB / 0.6611 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.35, allocations: 428.6 kB / 0.6615 GB, free: 136.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.381, allocations: 13.27 MB / 0.6745 GB, free: 129.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005882/1.387, allocations: 3.512 MB / 0.6779 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005627/1.392, allocations: 2.082 MB / 0.6799 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008576/1.393, allocations: 246 kB / 0.6802 GB, free: 127.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/1.393, allocations: 3.844 kB / 0.6802 GB, free: 127.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06791/1.461, allocations: 32.84 MB / 0.7122 GB, free: 98.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)