Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001204/0.001204, allocations: 100 kB / 15.05 MB, free: 1.105 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.001478/0.001478, allocations: 177.3 kB / 15.94 MB, free: 228 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.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.3025/0.3025, allocations: 39.99 MB / 310.4 MB, free: 9.996 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.000817/0.0008171, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1442, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2575/0.4017, allocations: 63.88 MB / 0.4889 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03451/0.4363, allocations: 14.99 MB / 0.5036 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01486/0.4512, allocations: 324.4 kB / 0.5039 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.4636, allocations: 3.195 MB / 0.507 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03791/0.5016, allocations: 9.143 MB / 0.5159 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006692/0.5083, allocations: 0.9096 MB / 0.5168 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04535/0.5537, allocations: 27.35 MB / 0.5435 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.5656, allocations: 6.293 MB / 0.5497 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/0.5703, allocations: 1.518 MB / 0.5511 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.5746, allocations: 2.068 MB / 0.5532 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.5763, allocations: 216 kB / 0.5534 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.5799, allocations: 0.9753 MB / 0.5543 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.584, allocations: 2.291 MB / 0.5566 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.5867, allocations: 1.205 MB / 0.5577 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.5979, allocations: 8.171 MB / 0.5657 GB, free: 3.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5979, allocations: 4 kB / 0.5657 GB, free: 3.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5979, allocations: 0 / 0.5657 GB, free: 3.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004738/0.5984, allocations: 0 / 0.5657 GB, free: 3.746 MB / 430.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.02136/0.6198, allocations: 6.351 MB / 0.5719 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6199, allocations: 16.03 kB / 0.5719 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1624/0.7823, allocations: 14.76 MB / 0.5863 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.7937, allocations: 4.971 MB / 0.5912 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.794, allocations: 336.5 kB / 0.5915 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.7952, allocations: 463.5 kB / 0.592 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.8197, allocations: 13.59 MB / 0.6052 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/0.82, allocations: 71.36 kB / 0.6053 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006824/0.8207, allocations: 215.8 kB / 0.6055 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004494/0.8252, allocations: 2.652 MB / 0.6081 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.8483, allocations: 11.73 MB / 0.6196 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3064/1.155, allocations: 53.88 MB / 0.6722 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/1.168, allocations: 5.821 MB / 0.6779 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.169, allocations: 0.6889 MB / 0.6785 GB, free: 104.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/1.169, allocations: 68.16 kB / 0.6786 GB, free: 104.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.941e-06/1.169, allocations: 2.953 kB / 0.6786 GB, free: 104.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1076/1.276, allocations: 36.76 MB / 0.7145 GB, free: 91.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.277, allocations: 268.4 kB / 0.7148 GB, free: 90.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007557/1.284, allocations: 5.681 MB / 0.7203 GB, free: 87.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.285, allocations: 72.95 kB / 0.7204 GB, free: 87.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002348/1.287, allocations: 4.047 MB / 0.7243 GB, free: 84.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.289, allocations: 1.203 MB / 0.7255 GB, free: 82.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/1.289, allocations: 152 kB / 0.7256 GB, free: 82.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003462/1.29, allocations: 0.6364 MB / 0.7263 GB, free: 82.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.294, allocations: 3.439 MB / 0.7296 GB, free: 78.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/1.3, allocations: 7.671 MB / 0.7371 GB, free: 68.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/1.306, allocations: 5.059 MB / 0.7421 GB, free: 63.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.35e-05/1.306, allocations: 43.38 kB / 0.7421 GB, free: 63.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02494/1.331, allocations: 12.89 MB / 0.7547 GB, free: 50.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/1.332, allocations: 68 kB / 0.7548 GB, free: 50.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001831/1.332, allocations: 148 kB / 0.7549 GB, free: 50.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005385/1.337, allocations: 2.267 MB / 0.7571 GB, free: 48.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006278/1.343, allocations: 1.774 MB / 0.7588 GB, free: 46.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.36, allocations: 15.76 MB / 0.7742 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008377/1.369, allocations: 463.2 kB / 0.7747 GB, free: 30.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.371, allocations: 459.9 kB / 0.7751 GB, free: 29.6 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 (931): * Single equations (assignments): 926 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005954/1.377, allocations: 2.821 MB / 0.7779 GB, free: 26.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.378, allocations: 0.4898 MB / 0.7783 GB, free: 26.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.39, allocations: 7.412 MB / 0.7856 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-05/1.39, allocations: 36 kB / 0.7856 GB, free: 18.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/1.39, allocations: 11.95 kB / 0.7856 GB, free: 18.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/1.39, allocations: 15.94 kB / 0.7856 GB, free: 18.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03191/1.422, allocations: 16.68 MB / 0.8019 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/1.422, allocations: 15.92 kB / 0.8019 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.424, allocations: 0.5109 MB / 0.8024 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004802/1.429, allocations: 2.008 MB / 0.8044 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005802/1.43, allocations: 67.94 kB / 0.8045 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/1.45, allocations: 14.24 MB / 0.8184 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.45, allocations: 7.938 kB / 0.8184 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2659/1.716, allocations: 12.68 MB / 0.8308 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003803/1.719, allocations: 1.109 MB / 0.8319 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.721, allocations: 59.16 kB / 0.8319 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002773/1.723, allocations: 224.4 kB / 0.8321 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005433/1.724, allocations: 217.7 kB / 0.8323 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/1.724, allocations: 81.5 kB / 0.8324 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005674/1.73, allocations: 3.656 MB / 0.836 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.73, allocations: 0 / 0.836 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009006/1.739, allocations: 1.54 MB / 0.8375 GB, free: 140.7 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008225/1.74, allocations: 230.6 kB / 0.8377 GB, free: 140.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.753, allocations: 8.558 MB / 0.8461 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.753, allocations: 1.469 kB / 0.8461 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.008085/1.761, allocations: 4.104 MB / 0.8501 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.765, allocations: 0.6269 MB / 0.8507 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.796, allocations: 17.09 MB / 0.8674 GB, free: 127 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006942/1.803, allocations: 4.543 MB / 0.8718 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007614/1.811, allocations: 2.526 MB / 0.8743 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.813, allocations: 369.9 kB / 0.8746 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/1.813, allocations: 0 / 0.8746 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.101/1.914, allocations: 63.48 MB / 0.9366 GB, free: 70.11 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) Environment - environmentSimulation: