Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.569/1.569, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001651/0.001651, allocations: 120.9 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2111/0.2111, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.4666, allocations: 101.3 MB / 0.5367 GB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4669, allocations: 72.66 kB / 0.5367 GB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2637/0.7305, allocations: 97.04 MB / 0.6315 GB, free: 5.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7306, allocations: 0 / 0.6315 GB, free: 5.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003566/0.731, allocations: 88 kB / 0.6316 GB, free: 5.484 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01829/0.7493, allocations: 5.117 MB / 0.6366 GB, free: 304 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7493, allocations: 12.03 kB / 0.6366 GB, free: 292 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.7711, allocations: 4.611 MB / 0.6411 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.7893, allocations: 6.045 MB / 0.647 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.7897, allocations: 152 kB / 0.6471 GB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/0.7925, allocations: 279.8 kB / 0.6474 GB, free: 5.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0154/0.808, allocations: 7.418 MB / 0.6546 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.8351, allocations: 10.84 MB / 0.6652 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004111/0.8356, allocations: 71.39 kB / 0.6653 GB, free: 1.711 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002584/0.8382, allocations: 35.98 kB / 0.6653 GB, free: 1.676 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/0.8405, allocations: 1.261 MB / 0.6666 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3446/1.185, allocations: 54.23 MB / 0.7195 GB, free: 75.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/1.191, allocations: 4.374 MB / 0.7238 GB, free: 74.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003948/1.195, allocations: 2.941 MB / 0.7267 GB, free: 74.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/1.213, allocations: 12.17 MB / 0.7385 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/1.213, allocations: 55.28 kB / 0.7386 GB, free: 67.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 8.075e-06/1.213, allocations: 0 / 0.7386 GB, free: 67.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.06241/1.276, allocations: 28.82 MB / 0.7667 GB, free: 58.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.276, allocations: 202.7 kB / 0.7669 GB, free: 57.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/1.282, allocations: 3.298 MB / 0.7702 GB, free: 56.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005502/1.283, allocations: 25.7 kB / 0.7702 GB, free: 56.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.284, allocations: 3.494 MB / 0.7736 GB, free: 54.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.285, allocations: 0.9225 MB / 0.7745 GB, free: 53.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/1.286, allocations: 3.281 kB / 0.7745 GB, free: 53.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002868/1.286, allocations: 0.6015 MB / 0.7751 GB, free: 52.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/1.289, allocations: 2.901 MB / 0.7779 GB, free: 50.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/1.294, allocations: 6.93 MB / 0.7847 GB, free: 42.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.3, allocations: 4.412 MB / 0.789 GB, free: 39.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.198e-05/1.3, allocations: 40 kB / 0.789 GB, free: 39 MB / 474.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02086/1.321, allocations: 11.64 MB / 0.8004 GB, free: 29.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.321, allocations: 68.25 kB / 0.8005 GB, free: 29.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.321, allocations: 144 kB / 0.8006 GB, free: 29.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008288/1.329, allocations: 3.178 MB / 0.8037 GB, free: 27.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/1.335, allocations: 1.602 MB / 0.8053 GB, free: 25.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/1.354, allocations: 13.83 MB / 0.8188 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/1.362, allocations: 342.7 kB / 0.8191 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/1.363, allocations: 418.6 kB / 0.8195 GB, free: 13.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002592/1.366, allocations: 465.9 kB / 0.8199 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.367, allocations: 383.1 kB / 0.8203 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.381, allocations: 7.15 MB / 0.8273 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.816e-05/1.382, allocations: 26.27 kB / 0.8273 GB, free: 6.441 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.382, allocations: 16 kB / 0.8273 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-05/1.382, allocations: 11.95 kB / 0.8273 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.409, allocations: 13.89 MB / 0.8409 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/1.409, allocations: 0 / 0.8409 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.411, allocations: 387.4 kB / 0.8413 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008693/1.42, allocations: 2.845 MB / 0.8441 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005753/1.42, allocations: 15.94 kB / 0.8441 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.319/1.739, allocations: 12.33 MB / 0.8561 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.739, allocations: 2.094 kB / 0.8561 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.758, allocations: 11.1 MB / 0.867 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/1.761, allocations: 0.8697 MB / 0.8678 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006659/1.761, allocations: 3.016 kB / 0.8678 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.763, allocations: 169.9 kB / 0.868 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006215/1.764, allocations: 148.9 kB / 0.8681 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.764, allocations: 64.88 kB / 0.8682 GB, free: 112.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003596/1.768, allocations: 2.203 MB / 0.8703 GB, free: 112.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.768, allocations: 0 / 0.8703 GB, free: 112.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007618/1.776, allocations: 1.141 MB / 0.8714 GB, free: 112.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005918/1.776, allocations: 131.9 kB / 0.8716 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01168/1.788, allocations: 7.449 MB / 0.8788 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.788, allocations: 0 / 0.8788 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.793, allocations: 2.964 MB / 0.8817 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.795, allocations: 373.5 kB / 0.8821 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.811, allocations: 9.644 MB / 0.8915 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.814, allocations: 3.759 MB / 0.8952 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005164/1.82, allocations: 2.217 MB / 0.8974 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008652/1.82, allocations: 260.9 kB / 0.8976 GB, free: 108 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/1.82, allocations: 0 / 0.8976 GB, free: 108 MB / 490.7 MB Notification: Performance of Templates: time 0.07748/1.898, allocations: 48.42 MB / 0.9449 GB, free: 86.37 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)