Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01306/0.3195, allocations: 11.95 MB / 0.5433 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00876/0.3283, allocations: 4.396 MB / 0.5476 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.3305, allocations: 70.72 kB / 0.5477 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00501/0.3355, allocations: 2.751 MB / 0.5504 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.3414, allocations: 1.996 MB / 0.5523 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.3436, allocations: 1.01 MB / 0.5533 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006699/0.3503, allocations: 5.357 MB / 0.5585 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004363/0.3547, allocations: 3.446 MB / 0.5619 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.3575, allocations: 1.744 MB / 0.5636 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.3612, allocations: 2.446 MB / 0.566 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.3624, allocations: 368 kB / 0.5664 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.3654, allocations: 1.397 MB / 0.5677 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.3679, allocations: 2.197 MB / 0.5699 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003581/0.3715, allocations: 2.481 MB / 0.5723 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009099/0.3807, allocations: 8.004 MB / 0.5801 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3807, allocations: 0 / 0.5801 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3807, allocations: 0 / 0.5801 GB, free: 104 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002604/0.381, allocations: 0 / 0.5801 GB, free: 104 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01356/0.3945, allocations: 5.73 MB / 0.5857 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3946, allocations: 8.031 kB / 0.5857 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.4106, allocations: 2.596 MB / 0.5882 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006863/0.4175, allocations: 3.154 MB / 0.5913 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.4178, allocations: 250.8 kB / 0.5916 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.4192, allocations: 355.8 kB / 0.5919 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.442, allocations: 12.36 MB / 0.604 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.4422, allocations: 55.52 kB / 0.604 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.4433, allocations: 163.8 kB / 0.6042 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/0.4472, allocations: 2.377 MB / 0.6065 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.4687, allocations: 10.85 MB / 0.6171 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/0.53, allocations: 48.58 MB / 0.6645 GB, free: 7.285 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/0.5458, allocations: 6.049 MB / 0.6704 GB, free: 1.086 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00433/0.5502, allocations: 3.304 MB / 0.6737 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/0.5712, allocations: 13.5 MB / 0.6869 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.515e-05/0.5713, allocations: 55.86 kB / 0.6869 GB, free: 15.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 7.484e-06/0.5713, allocations: 0 / 0.6869 GB, free: 15.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.3872/0.9585, allocations: 36.3 MB / 0.7224 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.9586, allocations: 209.5 kB / 0.7226 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005825/0.9645, allocations: 4.357 MB / 0.7268 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005563/0.9651, allocations: 68.5 kB / 0.7269 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.9671, allocations: 3.371 MB / 0.7302 GB, free: 162 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.9683, allocations: 0.9902 MB / 0.7311 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.9702, allocations: 1.424 MB / 0.7325 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.9702, allocations: 305.1 kB / 0.7328 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/0.9742, allocations: 3.285 MB / 0.736 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/0.9791, allocations: 7.207 MB / 0.7431 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/0.9889, allocations: 11.23 MB / 0.754 GB, free: 143 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/0.989, allocations: 40 kB / 0.7541 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02116/1.01, allocations: 13.27 MB / 0.767 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/1.01, allocations: 68.06 kB / 0.7671 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.01, allocations: 136 kB / 0.7672 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008742/1.019, allocations: 3.402 MB / 0.7706 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/1.024, allocations: 1.571 MB / 0.7721 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.044, allocations: 17.54 MB / 0.7892 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/1.051, allocations: 431.5 kB / 0.7896 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.052, allocations: 411.7 kB / 0.79 GB, free: 106 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004318/1.056, allocations: 2.35 MB / 0.7923 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.058, allocations: 404.3 kB / 0.7927 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/1.072, allocations: 7.998 MB / 0.8005 GB, free: 95.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/1.073, allocations: 15.95 kB / 0.8005 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.073, allocations: 0 / 0.8005 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.074, allocations: 447.8 kB / 0.801 GB, free: 94.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.075, allocations: 43.98 kB / 0.801 GB, free: 94.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.078, allocations: 191.7 kB / 0.8012 GB, free: 94.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/1.078, allocations: 198.5 kB / 0.8014 GB, free: 94.33 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01342/1.092, allocations: 7.852 MB / 0.809 GB, free: 86.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009941/1.102, allocations: 9.166 MB / 0.818 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002858/1.105, allocations: 2.588 MB / 0.8205 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003981/1.109, allocations: 2.729 MB / 0.8232 GB, free: 71.98 MB / 0.5606 GB Notification: Performance of Backend: time 2.7e-07/1.109, allocations: 0 / 0.8232 GB, free: 71.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.119, allocations: 6.18 MB / 0.8292 GB, free: 65.84 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01308/1.132, allocations: 10.72 MB / 0.8397 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1028/1.235, allocations: 70.17 MB / 0.9082 GB, free: 1.223 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)