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.001054/0.001054, allocations: 115.2 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.00113/0.00113, allocations: 208 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.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01383/0.3269, allocations: 13.25 MB / 0.5446 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009732/0.3366, allocations: 4.857 MB / 0.5493 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.339, allocations: 85.03 kB / 0.5494 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006437/0.3454, allocations: 3.976 MB / 0.5533 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.3505, allocations: 2.158 MB / 0.5554 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.3527, allocations: 1.189 MB / 0.5566 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006553/0.3593, allocations: 5.803 MB / 0.5622 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.3646, allocations: 5.18 MB / 0.5673 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.3675, allocations: 2.165 MB / 0.5694 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.3709, allocations: 2.956 MB / 0.5723 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007974/0.3718, allocations: 0.5 MB / 0.5728 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.3745, allocations: 1.654 MB / 0.5744 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.3767, allocations: 2.658 MB / 0.577 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.3794, allocations: 2.995 MB / 0.5799 GB, free: 108 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008956/0.3884, allocations: 9.893 MB / 0.5896 GB, free: 6.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3884, allocations: 0 / 0.5896 GB, free: 6.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3884, allocations: 0 / 0.5896 GB, free: 6.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001864/0.3886, allocations: 0 / 0.5896 GB, free: 6.18 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.01214/0.4008, allocations: 6.488 MB / 0.5959 GB, free: 15.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4008, allocations: 8.031 kB / 0.5959 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.4167, allocations: 2.719 MB / 0.5986 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007486/0.4242, allocations: 3.638 MB / 0.6021 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.4245, allocations: 354.2 kB / 0.6025 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009016/0.4254, allocations: 427.7 kB / 0.6029 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.4481, allocations: 13.86 MB / 0.6164 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.4483, allocations: 59.38 kB / 0.6165 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004895/0.4488, allocations: 199.8 kB / 0.6167 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003316/0.4521, allocations: 2.414 MB / 0.619 GB, free: 7.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.4742, allocations: 11.77 MB / 0.6305 GB, free: 11.23 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.05987/0.5341, allocations: 51.53 MB / 0.6808 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5471, allocations: 4.745 MB / 0.6855 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/0.5511, allocations: 2.968 MB / 0.6884 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/0.5705, allocations: 12.93 MB / 0.701 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.5706, allocations: 63.8 kB / 0.7011 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 4.669e-06/0.5706, allocations: 0 / 0.7011 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.41/0.9807, allocations: 43.19 MB / 0.7432 GB, free: 157 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.9808, allocations: 231.6 kB / 0.7435 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.9861, allocations: 4.764 MB / 0.7481 GB, free: 152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005063/0.9866, allocations: 61.7 kB / 0.7482 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.9881, allocations: 3.836 MB / 0.7519 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008476/0.9889, allocations: 0.9374 MB / 0.7528 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/0.9906, allocations: 1.511 MB / 0.7543 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.9906, allocations: 301.1 kB / 0.7546 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.9942, allocations: 3.454 MB / 0.758 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.9989, allocations: 7.707 MB / 0.7655 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00888/1.008, allocations: 11.88 MB / 0.7771 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.007e-05/1.008, allocations: 48 kB / 0.7771 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02325/1.031, allocations: 14.48 MB / 0.7913 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/1.031, allocations: 71.94 kB / 0.7913 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.584e-05/1.031, allocations: 148 kB / 0.7915 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/1.042, allocations: 4.02 MB / 0.7954 GB, free: 99.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.047, allocations: 1.637 MB / 0.797 GB, free: 97.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/1.068, allocations: 19.85 MB / 0.8164 GB, free: 77.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/1.074, allocations: 451.4 kB / 0.8168 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006203/1.074, allocations: 439.4 kB / 0.8172 GB, free: 76.86 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.002992/1.077, allocations: 2.66 MB / 0.8198 GB, free: 74.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.078, allocations: 430.4 kB / 0.8203 GB, free: 73.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.094, allocations: 8.64 MB / 0.8287 GB, free: 65.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.094, allocations: 15.95 kB / 0.8287 GB, free: 65.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.094, allocations: 0 / 0.8287 GB, free: 65.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/1.095, allocations: 467.4 kB / 0.8292 GB, free: 64.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/1.096, allocations: 40 kB / 0.8292 GB, free: 64.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.098, allocations: 195.7 kB / 0.8294 GB, free: 64.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/1.098, allocations: 197.5 kB / 0.8296 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0148/1.113, allocations: 8.546 MB / 0.8379 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009227/1.122, allocations: 9.304 MB / 0.847 GB, free: 46.35 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00248/1.125, allocations: 2.557 MB / 0.8495 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004094/1.129, allocations: 2.985 MB / 0.8524 GB, free: 40.81 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/1.129, allocations: 0 / 0.8524 GB, free: 40.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009844/1.139, allocations: 6.27 MB / 0.8585 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01511/1.154, allocations: 11.77 MB / 0.87 GB, free: 22.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.1106/1.264, allocations: 73.45 MB / 0.9417 GB, free: 13.62 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)