Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007826/0.0007827, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005677/0.005677, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.501/1.501, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3207/0.3207, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005891/0.0005891, allocations: 12.56 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1145, allocations: 57.53 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.302/0.4165, allocations: 72.86 MB / 0.4955 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0423/0.4589, allocations: 14.93 MB / 0.5101 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01684/0.4757, allocations: 329.8 kB / 0.5104 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.4781, allocations: 0.5746 MB / 0.511 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.4846, allocations: 2.282 MB / 0.5132 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.4874, allocations: 1.002 MB / 0.5142 GB, free: 13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01865/0.506, allocations: 9.543 MB / 0.5235 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.5192, allocations: 7.11 MB / 0.5305 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.5235, allocations: 1.71 MB / 0.5321 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004905/0.5285, allocations: 2.946 MB / 0.535 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008141/0.5293, allocations: 215 kB / 0.5352 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.5318, allocations: 1.137 MB / 0.5363 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.5343, allocations: 2.536 MB / 0.5388 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.5381, allocations: 2.878 MB / 0.5416 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00923/0.5473, allocations: 9.471 MB / 0.5509 GB, free: 4.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5474, allocations: 0 / 0.5509 GB, free: 4.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5474, allocations: 0 / 0.5509 GB, free: 4.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.5476, allocations: 0 / 0.5509 GB, free: 4.898 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.01337/0.561, allocations: 5.796 MB / 0.5565 GB, free: 15.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.5611, allocations: 8.031 kB / 0.5565 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/0.589, allocations: 3.452 MB / 0.5599 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009669/0.5987, allocations: 4.556 MB / 0.5644 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.5991, allocations: 337 kB / 0.5647 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.6004, allocations: 459.6 kB / 0.5651 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.6242, allocations: 13.59 MB / 0.5784 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/0.6244, allocations: 67.33 kB / 0.5785 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006013/0.6251, allocations: 215.8 kB / 0.5787 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004819/0.6299, allocations: 2.652 MB / 0.5813 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/0.6541, allocations: 11.86 MB / 0.5928 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3375/0.9917, allocations: 54.35 MB / 0.6459 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.004, allocations: 5.793 MB / 0.6516 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003747/1.007, allocations: 3.546 MB / 0.655 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/1.008, allocations: 0.6892 MB / 0.6557 GB, free: 110.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/1.008, allocations: 61.78 kB / 0.6558 GB, free: 110.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.37e-06/1.008, allocations: 0 / 0.6558 GB, free: 110.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1106/1.119, allocations: 37.27 MB / 0.6922 GB, free: 98.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.119, allocations: 266.2 kB / 0.6924 GB, free: 98.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/1.127, allocations: 5.326 MB / 0.6976 GB, free: 96.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001113/1.129, allocations: 75.89 kB / 0.6977 GB, free: 96.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003028/1.132, allocations: 3.989 MB / 0.7016 GB, free: 93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00205/1.134, allocations: 1.207 MB / 0.7028 GB, free: 92.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.135, allocations: 0.6906 MB / 0.7034 GB, free: 91.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/1.135, allocations: 305.1 kB / 0.7037 GB, free: 91.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004756/1.14, allocations: 3.692 MB / 0.7073 GB, free: 90.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006691/1.146, allocations: 7.975 MB / 0.7151 GB, free: 83.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/1.159, allocations: 12.5 MB / 0.7273 GB, free: 69.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/1.159, allocations: 40 kB / 0.7274 GB, free: 69.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02382/1.183, allocations: 13.97 MB / 0.741 GB, free: 55.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/1.183, allocations: 71.28 kB / 0.7411 GB, free: 55.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/1.183, allocations: 144 kB / 0.7412 GB, free: 54.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006042/1.189, allocations: 2.762 MB / 0.7439 GB, free: 52.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006306/1.196, allocations: 1.832 MB / 0.7457 GB, free: 50.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.213, allocations: 16.61 MB / 0.7619 GB, free: 33.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00814/1.222, allocations: 487.2 kB / 0.7624 GB, free: 32.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.223, allocations: 467 kB / 0.7628 GB, free: 32.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (973): * Single equations (assignments): 968 * Array equations: 3 * 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): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004088/1.227, allocations: 2.829 MB / 0.7656 GB, free: 29.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000891/1.228, allocations: 0.4898 MB / 0.7661 GB, free: 29.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.24, allocations: 8.176 MB / 0.774 GB, free: 20.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.24, allocations: 32 kB / 0.7741 GB, free: 20.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.24, allocations: 19 kB / 0.7741 GB, free: 20.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/1.24, allocations: 15.94 kB / 0.7741 GB, free: 20.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/1.264, allocations: 17.4 MB / 0.7911 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.264, allocations: 8 kB / 0.7911 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.266, allocations: 0.5148 MB / 0.7916 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005439/1.271, allocations: 2.483 MB / 0.794 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003371/1.272, allocations: 67.98 kB / 0.7941 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/1.291, allocations: 14.77 MB / 0.8085 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/1.291, allocations: 11.94 kB / 0.8085 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.31, allocations: 12.75 MB / 0.821 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/1.312, allocations: 1.115 MB / 0.8221 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009543/1.313, allocations: 64 kB / 0.8221 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.316, allocations: 238.5 kB / 0.8224 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006899/1.317, allocations: 220 kB / 0.8226 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.317, allocations: 91.92 kB / 0.8227 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2885/1.605, allocations: 3.363 MB / 0.8259 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.01e-07/1.606, allocations: 0 / 0.8259 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009733/1.615, allocations: 1.578 MB / 0.8275 GB, free: 160.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * Array equations: 3 * 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): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007122/1.616, allocations: 220 kB / 0.8277 GB, free: 160 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.632, allocations: 9.098 MB / 0.8366 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.632, allocations: 3.062 kB / 0.8366 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/1.637, allocations: 3.567 MB / 0.8401 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008092/1.645, allocations: 0.6405 MB / 0.8407 GB, free: 158 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/1.674, allocations: 18.16 MB / 0.8584 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00622/1.681, allocations: 4.412 MB / 0.8627 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0077/1.688, allocations: 2.508 MB / 0.8652 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.69, allocations: 360.3 kB / 0.8655 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/1.69, allocations: 0 / 0.8655 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1142/1.804, allocations: 66.13 MB / 0.9301 GB, free: 102.3 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) Environment - environmentSimulation: