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.001582/0.001582, allocations: 117.3 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.00198/0.001981, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.573/2.573, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4126/0.4126, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002901, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.564, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.02382/0.5879, allocations: 11.95 MB / 0.5433 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.6034, allocations: 4.392 MB / 0.5476 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.6066, allocations: 70.16 kB / 0.5477 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006417/0.613, allocations: 2.752 MB / 0.5504 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.6191, allocations: 2.054 MB / 0.5524 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.6216, allocations: 1.01 MB / 0.5534 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008001/0.6296, allocations: 5.365 MB / 0.5586 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005254/0.6349, allocations: 3.443 MB / 0.562 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.6381, allocations: 1.74 MB / 0.5637 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.642, allocations: 2.442 MB / 0.5661 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.6432, allocations: 372 kB / 0.5664 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.6467, allocations: 1.397 MB / 0.5678 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.6499, allocations: 2.201 MB / 0.5699 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004275/0.6542, allocations: 2.478 MB / 0.5723 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.6646, allocations: 8.036 MB / 0.5802 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6646, allocations: 0 / 0.5802 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6646, allocations: 0 / 0.5802 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002424/0.6649, allocations: 4 kB / 0.5802 GB, free: 15.83 MB / 446.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.01338/0.6783, allocations: 5.873 MB / 0.5859 GB, free: 9.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6783, allocations: 8.031 kB / 0.5859 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/0.6943, allocations: 2.638 MB / 0.5885 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/0.7013, allocations: 3.156 MB / 0.5916 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.7016, allocations: 250.8 kB / 0.5918 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.7028, allocations: 355.8 kB / 0.5922 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.7256, allocations: 12.35 MB / 0.6042 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.7258, allocations: 55.53 kB / 0.6043 GB, free: 6.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006608/0.7265, allocations: 167.8 kB / 0.6045 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003989/0.7305, allocations: 2.377 MB / 0.6068 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/0.7524, allocations: 10.84 MB / 0.6174 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/0.8134, allocations: 48.67 MB / 0.6649 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/0.8303, allocations: 6.052 MB / 0.6708 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/0.8414, allocations: 3.296 MB / 0.674 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04433/0.8858, allocations: 13.52 MB / 0.6872 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.59e-05/0.8859, allocations: 51.88 kB / 0.6873 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 9.187e-06/0.8859, allocations: 0 / 0.6873 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4588/1.345, allocations: 36.56 MB / 0.723 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/1.345, allocations: 212.8 kB / 0.7232 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/1.352, allocations: 4.366 MB / 0.7275 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008666/1.353, allocations: 68.22 kB / 0.7275 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.355, allocations: 3.506 MB / 0.7309 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.356, allocations: 1.031 MB / 0.7319 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.358, allocations: 1.432 MB / 0.7333 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/1.358, allocations: 305.1 kB / 0.7336 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/1.362, allocations: 3.284 MB / 0.7368 GB, free: 159 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005995/1.368, allocations: 7.209 MB / 0.7439 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.379, allocations: 11.24 MB / 0.7549 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/1.379, allocations: 36 kB / 0.7549 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02421/1.404, allocations: 13.29 MB / 0.7679 GB, free: 129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/1.404, allocations: 64 kB / 0.7679 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/1.404, allocations: 136 kB / 0.7681 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009274/1.413, allocations: 3.407 MB / 0.7714 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/1.418, allocations: 1.575 MB / 0.7729 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/1.439, allocations: 17.54 MB / 0.7901 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/1.445, allocations: 438.3 kB / 0.7905 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.446, allocations: 412 kB / 0.7909 GB, free: 105.3 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.003344/1.449, allocations: 2.346 MB / 0.7932 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/1.45, allocations: 425.1 kB / 0.7936 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.464, allocations: 8.002 MB / 0.8014 GB, free: 94.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.621e-05/1.464, allocations: 11.95 kB / 0.8014 GB, free: 94.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.464, allocations: 3.938 kB / 0.8014 GB, free: 94.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.465, allocations: 470.1 kB / 0.8019 GB, free: 94.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007978/1.466, allocations: 51.77 kB / 0.8019 GB, free: 93.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.468, allocations: 191.7 kB / 0.8021 GB, free: 93.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005246/1.469, allocations: 193.7 kB / 0.8023 GB, free: 93.61 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01287/1.482, allocations: 7.862 MB / 0.8099 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009859/1.492, allocations: 9.188 MB / 0.8189 GB, free: 76.54 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002529/1.494, allocations: 2.58 MB / 0.8214 GB, free: 73.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003544/1.498, allocations: 2.729 MB / 0.8241 GB, free: 71.23 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/1.498, allocations: 0 / 0.8241 GB, free: 71.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.509, allocations: 6.187 MB / 0.8301 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01486/1.524, allocations: 10.9 MB / 0.8408 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.2614/1.785, allocations: 69.42 MB / 0.9086 GB, free: 0.9414 MB / 0.5762 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)