Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 121.3 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003117/0.003117, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.256/2.256, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4223/0.4223, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 75.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5892, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0316/0.6208, allocations: 13.24 MB / 0.5446 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.633, allocations: 4.843 MB / 0.5493 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.6355, allocations: 84.84 kB / 0.5494 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007761/0.6433, allocations: 3.977 MB / 0.5533 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006304/0.6497, allocations: 2.23 MB / 0.5555 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.6527, allocations: 1.189 MB / 0.5566 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008474/0.6612, allocations: 5.811 MB / 0.5623 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.6681, allocations: 5.17 MB / 0.5674 GB, free: 13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.6716, allocations: 2.158 MB / 0.5695 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004556/0.6761, allocations: 2.968 MB / 0.5724 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003022/0.6792, allocations: 0.5 MB / 0.5729 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/0.6876, allocations: 1.65 MB / 0.5745 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009314/0.697, allocations: 2.661 MB / 0.5771 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.7078, allocations: 2.999 MB / 0.58 GB, free: 20 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02723/0.7351, allocations: 9.931 MB / 0.5897 GB, free: 6.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.7352, allocations: 0 / 0.5897 GB, free: 6.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.7353, allocations: 0 / 0.5897 GB, free: 6.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003904/0.7357, allocations: 0 / 0.5897 GB, free: 6.051 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0306/0.7663, allocations: 6.657 MB / 0.5962 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.7664, allocations: 8.031 kB / 0.5962 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.7863, allocations: 2.747 MB / 0.5989 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008992/0.7954, allocations: 3.659 MB / 0.6025 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/0.7958, allocations: 354.2 kB / 0.6028 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.7975, allocations: 427.8 kB / 0.6032 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/0.8224, allocations: 13.85 MB / 0.6167 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.8226, allocations: 55.52 kB / 0.6168 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006001/0.8233, allocations: 199.8 kB / 0.617 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003473/0.8267, allocations: 2.414 MB / 0.6193 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/0.8495, allocations: 11.76 MB / 0.6308 GB, free: 10.9 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08414/0.9337, allocations: 51.63 MB / 0.6812 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02194/0.9556, allocations: 4.747 MB / 0.6859 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/0.9598, allocations: 2.968 MB / 0.6888 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0189/0.9787, allocations: 12.94 MB / 0.7014 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.9788, allocations: 63.75 kB / 0.7015 GB, free: 344 kB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5.219e-06/0.9788, allocations: 0 / 0.7015 GB, free: 344 kB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.589/1.568, allocations: 43.56 MB / 0.744 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/1.568, allocations: 231.6 kB / 0.7442 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009137/1.577, allocations: 4.775 MB / 0.7489 GB, free: 150 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006732/1.578, allocations: 65.69 kB / 0.749 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002861/1.581, allocations: 3.992 MB / 0.7529 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.582, allocations: 0.9759 MB / 0.7538 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003227/1.585, allocations: 1.524 MB / 0.7553 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.585, allocations: 301.1 kB / 0.7556 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008109/1.594, allocations: 3.446 MB / 0.7589 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.604, allocations: 7.715 MB / 0.7665 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01955/1.624, allocations: 11.88 MB / 0.7781 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.624, allocations: 40 kB / 0.7781 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.04705/1.671, allocations: 14.5 MB / 0.7923 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.671, allocations: 75.94 kB / 0.7923 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.672, allocations: 148 kB / 0.7925 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.692, allocations: 4.026 MB / 0.7964 GB, free: 97.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/1.697, allocations: 1.634 MB / 0.798 GB, free: 95.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.721, allocations: 19.86 MB / 0.8174 GB, free: 75.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00718/1.728, allocations: 463.4 kB / 0.8178 GB, free: 75.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.73, allocations: 428 kB / 0.8183 GB, free: 75.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004042/1.734, allocations: 2.661 MB / 0.8209 GB, free: 72.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009549/1.735, allocations: 457.6 kB / 0.8213 GB, free: 71.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.751, allocations: 8.648 MB / 0.8297 GB, free: 63.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/1.751, allocations: 11.97 kB / 0.8297 GB, free: 63.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.751, allocations: 0 / 0.8297 GB, free: 63.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/1.752, allocations: 486 kB / 0.8302 GB, free: 62.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005978/1.753, allocations: 43.98 kB / 0.8303 GB, free: 62.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.755, allocations: 192.9 kB / 0.8304 GB, free: 62.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/1.755, allocations: 205.1 kB / 0.8306 GB, free: 62.32 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01416/1.77, allocations: 8.55 MB / 0.839 GB, free: 53.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009552/1.779, allocations: 9.328 MB / 0.8481 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002461/1.782, allocations: 2.568 MB / 0.8506 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003343/1.785, allocations: 2.973 MB / 0.8535 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of Backend: time 6.21e-07/1.785, allocations: 0 / 0.8535 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009381/1.794, allocations: 6.296 MB / 0.8597 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01462/1.809, allocations: 11.94 MB / 0.8713 GB, free: 20.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.8834/2.693, allocations: 72.71 MB / 0.9423 GB, free: 12.18 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)