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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.011/0.011, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.002666/0.002666, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.726/1.726, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.4782/0.4782, allocations: 39.94 MB / 309.8 MB, free: 9.414 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.001434/0.001434, allocations: 63.91 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4451, allocations: 56.88 MB / 492.7 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01958/0.4647, allocations: 14.81 MB / 0.4956 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.4798, allocations: 4.552 MB / 0.5 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005998/0.4858, allocations: 87.75 kB / 0.5001 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.4913, allocations: 2.405 MB / 0.5025 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00748/0.4988, allocations: 1.912 MB / 0.5043 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.5014, allocations: 0.894 MB / 0.5052 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007057/0.5085, allocations: 4.135 MB / 0.5092 GB, free: 388 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005147/0.5137, allocations: 3.495 MB / 0.5126 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.5167, allocations: 1.542 MB / 0.5142 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003191/0.5199, allocations: 2.141 MB / 0.5162 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008415/0.5207, allocations: 343.8 kB / 0.5166 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.5234, allocations: 1.162 MB / 0.5177 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.5254, allocations: 1.999 MB / 0.5197 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.5278, allocations: 2.365 MB / 0.522 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009091/0.5369, allocations: 7.886 MB / 0.5297 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5369, allocations: 0 / 0.5297 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.537, allocations: 3.938 kB / 0.5297 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00018/0.5371, allocations: 4 kB / 0.5297 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01144/0.5486, allocations: 5.217 MB / 0.5348 GB, free: 9.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5487, allocations: 11.89 kB / 0.5348 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.5593, allocations: 3.172 MB / 0.5379 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/0.5659, allocations: 2.348 MB / 0.5402 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.5662, allocations: 250.7 kB / 0.5404 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.5674, allocations: 339.8 kB / 0.5407 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.587, allocations: 11.88 MB / 0.5523 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.5871, allocations: 35.66 kB / 0.5524 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/0.5875, allocations: 155.8 kB / 0.5525 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003939/0.5915, allocations: 2.641 MB / 0.5551 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02176/0.6133, allocations: 10.99 MB / 0.5658 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07396/0.6873, allocations: 37.33 MB / 0.6023 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008678/0.696, allocations: 4.406 MB / 0.6066 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.6993, allocations: 2.166 MB / 0.6087 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.7006, allocations: 1.315 MB / 0.61 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.7007, allocations: 60.5 kB / 0.61 GB, free: 10.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 5.009e-06/0.7007, allocations: 4 kB / 0.6101 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.04042/0.7411, allocations: 13.84 MB / 0.6236 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.7412, allocations: 73.41 kB / 0.6236 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/0.7458, allocations: 2.985 MB / 0.6266 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000526/0.7463, allocations: 61.7 kB / 0.6266 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002215/0.7485, allocations: 3.116 MB / 0.6297 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001254/0.7498, allocations: 0.9752 MB / 0.6306 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.7514, allocations: 1.199 MB / 0.6318 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7515, allocations: 309.1 kB / 0.6321 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.7551, allocations: 2.401 MB / 0.6344 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3542/1.109, allocations: 5.699 MB / 0.64 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/1.123, allocations: 8.888 MB / 0.6487 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002371/1.124, allocations: 36.78 kB / 0.6487 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02457/1.148, allocations: 8.812 MB / 0.6573 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.148, allocations: 54.31 kB / 0.6574 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/1.149, allocations: 115.2 kB / 0.6575 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004147/1.153, allocations: 1.045 MB / 0.6585 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005561/1.158, allocations: 1.379 MB / 0.6598 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/1.162, allocations: 2.623 MB / 0.6624 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/1.167, allocations: 320.4 kB / 0.6627 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.168, allocations: 348.9 kB / 0.663 GB, free: 108.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (748): * Single equations (assignments): 739 * 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.005137/1.173, allocations: 2.371 MB / 0.6654 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.174, allocations: 308.8 kB / 0.6656 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009415/1.183, allocations: 5.088 MB / 0.6706 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.301e-05/1.183, allocations: 52.06 kB / 0.6707 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.183, allocations: 1.75 kB / 0.6707 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/1.183, allocations: 12.22 kB / 0.6707 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.203, allocations: 11.73 MB / 0.6821 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.203, allocations: 6.312 kB / 0.6821 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/1.205, allocations: 425.2 kB / 0.6825 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/1.208, allocations: 0.9142 MB / 0.6834 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.209, allocations: 51.98 kB / 0.6835 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/1.211, allocations: 2.427 MB / 0.6859 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.211, allocations: 8 kB / 0.6859 GB, free: 98.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.221, allocations: 7.54 MB / 0.6932 GB, free: 90.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.222, allocations: 341.1 kB / 0.6936 GB, free: 90.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.223, allocations: 63.86 kB / 0.6936 GB, free: 90.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.224, allocations: 136.2 kB / 0.6937 GB, free: 90.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.224, allocations: 161 kB / 0.6939 GB, free: 89.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.224, allocations: 71.98 kB / 0.694 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002326/1.227, allocations: 1.844 MB / 0.6958 GB, free: 87.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.227, allocations: 4 kB / 0.6958 GB, free: 87.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005703/1.232, allocations: 1.041 MB / 0.6968 GB, free: 86.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * 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.0004954/1.233, allocations: 198.3 kB / 0.697 GB, free: 86.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009484/1.242, allocations: 6.331 MB / 0.7032 GB, free: 80.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.242, allocations: 0 / 0.7032 GB, free: 80.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003959/1.246, allocations: 2.612 MB / 0.7057 GB, free: 77.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.25, allocations: 0.5277 MB / 0.7062 GB, free: 77.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.27, allocations: 11.28 MB / 0.7172 GB, free: 65.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003723/1.274, allocations: 3.659 MB / 0.7208 GB, free: 62.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00426/1.278, allocations: 2.149 MB / 0.7229 GB, free: 59.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/1.279, allocations: 247.4 kB / 0.7231 GB, free: 59.74 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/1.279, allocations: 4 kB / 0.7232 GB, free: 59.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.06317/1.342, allocations: 33.02 MB / 0.7554 GB, free: 26.85 MB / 0.4981 GB 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)