Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008888, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008699/0.0008703, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3263/0.3263, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.0005457/0.0005457, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 57.51 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.2558/0.3807, allocations: 26.72 MB / 460.7 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.3952, allocations: 6.497 MB / 467.2 MB, free: 32.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005463/0.4007, allocations: 122.6 kB / 467.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.4046, allocations: 1.278 MB / 468.6 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4158, allocations: 4.055 MB / 472.6 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.4178, allocations: 414.9 kB / 473 MB, free: 31.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005628/0.4235, allocations: 4.361 MB / 477.4 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.4266, allocations: 2.217 MB / 479.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.4283, allocations: 1.064 MB / 480.7 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.4301, allocations: 1.747 MB / 482.4 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003408/0.4304, allocations: 132 kB / 482.6 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.432, allocations: 0.9116 MB / 483.5 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.4333, allocations: 1.572 MB / 485 MB, free: 29.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007402/0.434, allocations: 0.7693 MB / 485.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006035/0.4401, allocations: 4.898 MB / 490.7 MB, free: 29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4401, allocations: 7.062 kB / 490.7 MB, free: 29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4401, allocations: 0 / 490.7 MB, free: 29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.4403, allocations: 0 / 490.7 MB, free: 29 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.006978/0.4473, allocations: 3.609 MB / 494.3 MB, free: 26.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4474, allocations: 9.469 kB / 494.3 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.4586, allocations: 3.262 MB / 497.6 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00478/0.4634, allocations: 2.131 MB / 499.7 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.4636, allocations: 190.9 kB / 499.9 MB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.4647, allocations: 345.7 kB / 0.4885 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.4844, allocations: 10.77 MB / 0.499 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.4847, allocations: 35.23 kB / 0.4991 GB, free: 19.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007739/0.4855, allocations: 123.7 kB / 0.4992 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004072/0.4896, allocations: 2.558 MB / 0.5017 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.5081, allocations: 10.25 MB / 0.5117 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05201/0.5601, allocations: 35.86 MB / 0.5467 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007568/0.5677, allocations: 4.425 MB / 0.551 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/0.5707, allocations: 2.198 MB / 0.5532 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.5717, allocations: 1.318 MB / 0.5545 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5718, allocations: 52.56 kB / 0.5545 GB, free: 14.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 4.849e-06/0.5718, allocations: 4 kB / 0.5545 GB, free: 14.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.03805/0.6099, allocations: 17.02 MB / 0.5711 GB, free: 13.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001553/0.6115, allocations: 1.535 MB / 0.5726 GB, free: 11.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/0.6173, allocations: 2.763 MB / 0.5753 GB, free: 8.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005788/0.6179, allocations: 57.7 kB / 0.5754 GB, free: 8.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.62, allocations: 2.74 MB / 0.5781 GB, free: 5.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.6215, allocations: 0.9559 MB / 0.579 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006716/0.6222, allocations: 114.3 kB / 0.5791 GB, free: 4.789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004971/0.6227, allocations: 0.5538 MB / 0.5797 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004234/0.627, allocations: 2.459 MB / 0.5821 GB, free: 1.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0063/0.6333, allocations: 5.511 MB / 0.5874 GB, free: 10.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/0.6387, allocations: 3.677 MB / 0.591 GB, free: 7.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.94e-05/0.6387, allocations: 35.94 kB / 0.5911 GB, free: 7.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.01984/0.6586, allocations: 9.821 MB / 0.6007 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.6587, allocations: 51.47 kB / 0.6007 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01176/0.6705, allocations: 4.892 MB / 0.6055 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009334/0.6798, allocations: 2.398 MB / 0.6078 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005141/0.685, allocations: 1.306 MB / 0.6091 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007884/0.6929, allocations: 5.844 MB / 0.6148 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/0.6981, allocations: 403.6 kB / 0.6152 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/0.6995, allocations: 330.9 kB / 0.6155 GB, free: 13.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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 prepare postOptimizeDAE: time 0.005303/0.7048, allocations: 2.117 MB / 0.6176 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/0.7056, allocations: 280.3 kB / 0.6178 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/0.7153, allocations: 5.429 MB / 0.6231 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007948/0.7232, allocations: 4.68 MB / 0.6277 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7233, allocations: 7.938 kB / 0.6277 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.7233, allocations: 7.969 kB / 0.6277 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2825/1.006, allocations: 14.72 MB / 0.6421 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.006, allocations: 12.5 kB / 0.6421 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.008, allocations: 422.4 kB / 0.6425 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/1.011, allocations: 1.248 MB / 0.6437 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003025/1.011, allocations: 66.5 kB / 0.6438 GB, free: 143.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/1.015, allocations: 4.438 MB / 0.6481 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007416/1.016, allocations: 1.473 MB / 0.6496 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.029, allocations: 8.135 MB / 0.6575 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.03, allocations: 340.1 kB / 0.6578 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/1.03, allocations: 60.66 kB / 0.6579 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.032, allocations: 200.4 kB / 0.6581 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/1.032, allocations: 167.9 kB / 0.6582 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.032, allocations: 80.61 kB / 0.6583 GB, free: 135.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003008/1.035, allocations: 1.683 MB / 0.66 GB, free: 135.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.035, allocations: 4.969 kB / 0.66 GB, free: 135.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006807/1.042, allocations: 1.081 MB / 0.661 GB, free: 135 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0006714/1.043, allocations: 199.1 kB / 0.6612 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.054, allocations: 6.544 MB / 0.6676 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.054, allocations: 1.031 kB / 0.6676 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.06, allocations: 2.888 MB / 0.6704 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.063, allocations: 386.1 kB / 0.6708 GB, free: 131.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.083, allocations: 12.59 MB / 0.6831 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003419/1.087, allocations: 3.315 MB / 0.6863 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00459/1.091, allocations: 2.104 MB / 0.6884 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/1.092, allocations: 226.9 kB / 0.6886 GB, free: 123.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.092, allocations: 4 kB / 0.6886 GB, free: 123.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05372/1.146, allocations: 35.03 MB / 0.7228 GB, free: 88.79 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) Environment - environmentSimulation: