Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.9 kB / 18.45 MB, free: 4.625 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.001505/0.001506, allocations: 185.9 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4682, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01459/0.4828, allocations: 11.98 MB / 0.5313 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.4935, allocations: 4.364 MB / 0.5355 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.4969, allocations: 71.47 kB / 0.5356 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006053/0.503, allocations: 2.764 MB / 0.5383 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.5107, allocations: 2.093 MB / 0.5403 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.5135, allocations: 1.006 MB / 0.5413 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009595/0.5231, allocations: 5.281 MB / 0.5465 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004133/0.5273, allocations: 3.444 MB / 0.5498 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.5306, allocations: 1.76 MB / 0.5516 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.5343, allocations: 2.453 MB / 0.554 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.5352, allocations: 368 kB / 0.5543 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.5383, allocations: 1.42 MB / 0.5557 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.5407, allocations: 2.217 MB / 0.5579 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.5438, allocations: 2.489 MB / 0.5603 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.5539, allocations: 8.076 MB / 0.5682 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.554, allocations: 0 / 0.5682 GB, free: 10.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.554, allocations: 0 / 0.5682 GB, free: 10.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002629/0.5542, allocations: 0 / 0.5682 GB, free: 10.1 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01469/0.5689, allocations: 5.745 MB / 0.5738 GB, free: 4.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.569, allocations: 8.031 kB / 0.5738 GB, free: 4.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.5863, allocations: 2.592 MB / 0.5763 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009442/0.5958, allocations: 3.213 MB / 0.5795 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.5961, allocations: 258.8 kB / 0.5797 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.5979, allocations: 347.8 kB / 0.58 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.6263, allocations: 12.36 MB / 0.5921 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003229/0.6266, allocations: 51.5 kB / 0.5922 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/0.6283, allocations: 171.7 kB / 0.5923 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004376/0.6327, allocations: 2.377 MB / 0.5947 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.6571, allocations: 10.84 MB / 0.6052 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06875/0.7259, allocations: 48.61 MB / 0.6527 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.742, allocations: 6.038 MB / 0.6586 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004308/0.7464, allocations: 3.31 MB / 0.6618 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02526/0.7716, allocations: 13.5 MB / 0.675 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.229e-05/0.7718, allocations: 55.88 kB / 0.6751 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 9.177e-06/0.7718, allocations: 3.938 kB / 0.6751 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1135/0.8853, allocations: 36.3 MB / 0.7105 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.8855, allocations: 209.9 kB / 0.7107 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008442/0.8939, allocations: 4.369 MB / 0.715 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007232/0.8947, allocations: 65.7 kB / 0.7151 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3404/1.235, allocations: 3.372 MB / 0.7184 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001742/1.237, allocations: 0.9879 MB / 0.7193 GB, free: 170 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003522/1.24, allocations: 1.418 MB / 0.7207 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.241, allocations: 304.5 kB / 0.721 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007013/1.248, allocations: 3.288 MB / 0.7242 GB, free: 168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008676/1.256, allocations: 7.199 MB / 0.7312 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/1.271, allocations: 11.24 MB / 0.7422 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002644/1.272, allocations: 38.56 kB / 0.7422 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02665/1.298, allocations: 13.28 MB / 0.7552 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/1.299, allocations: 70.11 kB / 0.7553 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003901/1.299, allocations: 136 kB / 0.7554 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.309, allocations: 3.402 MB / 0.7587 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00586/1.315, allocations: 1.579 MB / 0.7603 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/1.34, allocations: 17.54 MB / 0.7774 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007295/1.347, allocations: 427.4 kB / 0.7778 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.349, allocations: 412 kB / 0.7782 GB, free: 125 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.005013/1.354, allocations: 2.352 MB / 0.7805 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.355, allocations: 398.8 kB / 0.7809 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/1.371, allocations: 8.002 MB / 0.7887 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.562e-05/1.371, allocations: 15.95 kB / 0.7887 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.371, allocations: 3.438 kB / 0.7887 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.372, allocations: 459.6 kB / 0.7892 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/1.374, allocations: 44 kB / 0.7892 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/1.377, allocations: 187.7 kB / 0.7894 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/1.378, allocations: 197.6 kB / 0.7896 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01558/1.393, allocations: 7.856 MB / 0.7972 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01115/1.405, allocations: 9.166 MB / 0.8062 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002935/1.408, allocations: 2.587 MB / 0.8087 GB, free: 93.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005835/1.413, allocations: 2.729 MB / 0.8114 GB, free: 91 MB / 0.5606 GB Notification: Performance of Backend: time 1.032e-06/1.413, allocations: 0 / 0.8114 GB, free: 91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.428, allocations: 6.176 MB / 0.8174 GB, free: 84.87 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01838/1.447, allocations: 10.72 MB / 0.8279 GB, free: 74.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.1014/1.548, allocations: 69.58 MB / 0.8958 GB, free: 4.793 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)