Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003023/0.003028, allocations: 366.8 kB / 15.96 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.219/4.219, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003524/0.003523, allocations: 230.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5136/0.5136, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006244, allocations: 12 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.103, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.05006/0.1531, allocations: 37.75 MB / 0.717 GB, free: 3.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.383/0.5362, allocations: 8.855 MB / 0.7256 GB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009485/0.5457, allocations: 176.8 kB / 0.7258 GB, free: 11.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008242/0.554, allocations: 1.788 MB / 0.7275 GB, free: 11.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02878/0.5829, allocations: 6.434 MB / 0.7338 GB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005082/0.588, allocations: 0.8536 MB / 0.7346 GB, free: 10.63 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0325/0.6206, allocations: 16.6 MB / 0.7508 GB, free: 5.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0085/0.6291, allocations: 4.11 MB / 0.7549 GB, free: 3.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.6328, allocations: 1.446 MB / 0.7563 GB, free: 2.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.6375, allocations: 2.352 MB / 0.7586 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.6387, allocations: 168 kB / 0.7587 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/0.6428, allocations: 1.136 MB / 0.7598 GB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003819/0.6467, allocations: 1.962 MB / 0.7618 GB, free: 14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6486, allocations: 0.9261 MB / 0.7627 GB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.6592, allocations: 6.165 MB / 0.7687 GB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.6593, allocations: 4 kB / 0.7687 GB, free: 8.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6593, allocations: 3.938 kB / 0.7687 GB, free: 8.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002599/0.6596, allocations: 0 / 0.7687 GB, free: 8.105 MB / 362.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.01953/0.6791, allocations: 5.125 MB / 0.7737 GB, free: 3.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.6792, allocations: 8.031 kB / 0.7737 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03425/0.7135, allocations: 3.023 MB / 0.7767 GB, free: 484 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.7244, allocations: 3.2 MB / 0.7798 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.7248, allocations: 265.3 kB / 0.78 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.7266, allocations: 347.2 kB / 0.7804 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.7624, allocations: 12.6 MB / 0.7927 GB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.7626, allocations: 59.5 kB / 0.7927 GB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000832/0.7635, allocations: 165.6 kB / 0.7929 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005927/0.7694, allocations: 2.26 MB / 0.7951 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03783/0.8073, allocations: 11.01 MB / 0.8058 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09511/0.9025, allocations: 48.7 MB / 0.8534 GB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02843/0.9309, allocations: 6.133 MB / 0.8594 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007589/0.9386, allocations: 3.3 MB / 0.8626 GB, free: 9.246 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03385/0.9725, allocations: 13.52 MB / 0.8758 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.9726, allocations: 55.81 kB / 0.8759 GB, free: 11.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=204): time 7.504e-06/0.9726, allocations: 0 / 0.8759 GB, free: 11.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.5058/1.478, allocations: 36.83 MB / 0.9118 GB, free: 168.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/1.479, allocations: 211.2 kB / 0.912 GB, free: 168 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.489, allocations: 4.339 MB / 0.9163 GB, free: 166.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000866/1.49, allocations: 69.52 kB / 0.9163 GB, free: 166.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.493, allocations: 3.373 MB / 0.9196 GB, free: 163.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.495, allocations: 0.9825 MB / 0.9206 GB, free: 163 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007674/1.495, allocations: 138.6 kB / 0.9207 GB, free: 162.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004452/1.496, allocations: 0.6 MB / 0.9213 GB, free: 162.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008634/1.505, allocations: 3.254 MB / 0.9245 GB, free: 161.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/1.516, allocations: 7.155 MB / 0.9315 GB, free: 155 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.527, allocations: 4.697 MB / 0.9361 GB, free: 153.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/1.527, allocations: 38.88 kB / 0.9361 GB, free: 153.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.0559/1.583, allocations: 13.19 MB / 0.949 GB, free: 147.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.583, allocations: 64 kB / 0.949 GB, free: 147.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.584, allocations: 133 kB / 0.9492 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02471/1.608, allocations: 3.429 MB / 0.9525 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/1.623, allocations: 1.567 MB / 0.954 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04756/1.671, allocations: 16.37 MB / 0.97 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008599/1.679, allocations: 427.4 kB / 0.9704 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.681, allocations: 412 kB / 0.9708 GB, free: 125.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 834 * 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 {(5,60.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005891/1.687, allocations: 2.347 MB / 0.9731 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.688, allocations: 402.8 kB / 0.9735 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02706/1.715, allocations: 7.99 MB / 0.9813 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/1.715, allocations: 15.95 kB / 0.9813 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.715, allocations: 4 kB / 0.9813 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/1.718, allocations: 0.937 MB / 0.9823 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.72, allocations: 47.95 kB / 0.9823 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004454/1.725, allocations: 187.7 kB / 0.9825 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/1.725, allocations: 201.6 kB / 0.9827 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03347/1.759, allocations: 7.839 MB / 0.9903 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01906/1.778, allocations: 9.15 MB / 0.9993 GB, free: 95.92 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005309/1.783, allocations: 2.574 MB / 1.002 GB, free: 93.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005902/1.789, allocations: 2.709 MB / 1.004 GB, free: 90.64 MB / 490.7 MB Notification: Performance of Backend: time 1.022e-06/1.789, allocations: 0 / 1.004 GB, free: 90.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01928/1.809, allocations: 6.081 MB / 1.01 GB, free: 84.61 MB / 490.7 MB Notification: Performance of SimCode: time 0.02581/1.835, allocations: 12.69 MB / 1.023 GB, free: 71.89 MB / 490.7 MB Notification: Performance of Templates: time 0.5423/2.377, allocations: 65.33 MB / 1.087 GB, free: 151.2 MB / 490.7 MB