Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 106.9 kB / 16.64 MB, free: 6.812 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.001417/0.001417, allocations: 185.9 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2197/0.2197, allocations: 43.52 MB / 314.3 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 70.42 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.113, allocations: 57.8 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.04362/0.1567, allocations: 48.23 MB / 488.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02412/0.1809, allocations: 10.6 MB / 499.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01072/0.1916, allocations: 215.4 kB / 499.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007712/0.1994, allocations: 3.849 MB / 0.4918 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006846/0.2063, allocations: 2.048 MB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.2095, allocations: 1.108 MB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009186/0.2187, allocations: 5.694 MB / 0.5004 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007838/0.2266, allocations: 5.467 MB / 0.5057 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.231, allocations: 2.228 MB / 0.5079 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005048/0.236, allocations: 3.28 MB / 0.5111 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.2375, allocations: 0.5 MB / 0.5116 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2408, allocations: 1.658 MB / 0.5132 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002962/0.2438, allocations: 2.704 MB / 0.5159 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.2479, allocations: 3.057 MB / 0.5188 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009932/0.2578, allocations: 7.983 MB / 0.5266 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2579, allocations: 4 kB / 0.5266 GB, free: 4.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2579, allocations: 0 / 0.5266 GB, free: 4.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003244/0.2582, allocations: 0 / 0.5266 GB, free: 4.352 MB / 414.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.2545/0.5127, allocations: 6.523 MB / 0.533 GB, free: 89.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5128, allocations: 16.86 kB / 0.533 GB, free: 89.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.5304, allocations: 2.717 MB / 0.5357 GB, free: 89.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009862/0.5403, allocations: 3.732 MB / 0.5393 GB, free: 88.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/0.5407, allocations: 353.1 kB / 0.5397 GB, free: 88.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.5427, allocations: 422.5 kB / 0.5401 GB, free: 87.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.5686, allocations: 13.86 MB / 0.5536 GB, free: 78.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.5688, allocations: 51.53 kB / 0.5536 GB, free: 78.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.5693, allocations: 199.8 kB / 0.5538 GB, free: 78.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002871/0.5722, allocations: 2.41 MB / 0.5562 GB, free: 76.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.5919, allocations: 11.76 MB / 0.5677 GB, free: 64.26 MB / 414.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.05481/0.6467, allocations: 51.8 MB / 0.6183 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.6581, allocations: 4.738 MB / 0.6229 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.6617, allocations: 2.948 MB / 0.6258 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/0.6833, allocations: 12.87 MB / 0.6383 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.941e-05/0.6834, allocations: 55.86 kB / 0.6384 GB, free: 5.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=197): time 4.509e-06/0.6835, allocations: 4 kB / 0.6384 GB, free: 5.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1614/0.8449, allocations: 43.45 MB / 0.6808 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.845, allocations: 231.7 kB / 0.681 GB, free: 9.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009302/0.8543, allocations: 4.798 MB / 0.6857 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007229/0.8551, allocations: 61.7 kB / 0.6858 GB, free: 4.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003331/0.8585, allocations: 3.837 MB / 0.6895 GB, free: 1.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/0.8602, allocations: 0.937 MB / 0.6904 GB, free: 116 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003733/0.864, allocations: 1.503 MB / 0.6919 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8642, allocations: 309.1 kB / 0.6922 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00541/0.8696, allocations: 3.45 MB / 0.6956 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008283/0.8779, allocations: 7.703 MB / 0.7031 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/0.8928, allocations: 11.88 MB / 0.7147 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.893, allocations: 44 kB / 0.7147 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.2869/1.18, allocations: 14.46 MB / 0.7289 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.18, allocations: 68.81 kB / 0.7289 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002683/1.18, allocations: 148.6 kB / 0.7291 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/1.193, allocations: 4.033 MB / 0.733 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005397/1.199, allocations: 1.627 MB / 0.7346 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/1.223, allocations: 19.85 MB / 0.754 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/1.23, allocations: 466.6 kB / 0.7544 GB, free: 151.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009851/1.231, allocations: 432 kB / 0.7548 GB, free: 150.6 MB / 0.4981 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.003751/1.234, allocations: 2.664 MB / 0.7574 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007833/1.235, allocations: 427.4 kB / 0.7579 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/1.251, allocations: 8.645 MB / 0.7663 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/1.251, allocations: 26.97 kB / 0.7663 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.251, allocations: 13.25 kB / 0.7663 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-05/1.251, allocations: 15.89 kB / 0.7663 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/1.281, allocations: 17.91 MB / 0.7838 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/1.281, allocations: 1.188 kB / 0.7838 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.283, allocations: 399.4 kB / 0.7842 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/1.294, allocations: 4.078 MB / 0.7882 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006697/1.295, allocations: 47.98 kB / 0.7883 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.316, allocations: 18.22 MB / 0.806 GB, free: 98.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.316, allocations: 4.031 kB / 0.806 GB, free: 98.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/1.337, allocations: 13.23 MB / 0.819 GB, free: 85.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/1.34, allocations: 0.9601 MB / 0.8199 GB, free: 84.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/1.341, allocations: 40 kB / 0.8199 GB, free: 84.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.343, allocations: 215.7 kB / 0.8202 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/1.344, allocations: 153.8 kB / 0.8203 GB, free: 83.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.344, allocations: 60 kB / 0.8204 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003923/1.348, allocations: 2.997 MB / 0.8233 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.973e-06/1.348, allocations: 0 / 0.8233 GB, free: 80.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006756/1.355, allocations: 1.498 MB / 0.8247 GB, free: 79.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007078/1.356, allocations: 225.3 kB / 0.825 GB, free: 79.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.37, allocations: 10.02 MB / 0.8347 GB, free: 69.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.37, allocations: 0 / 0.8347 GB, free: 69.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.374, allocations: 3.117 MB / 0.8378 GB, free: 66.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.378, allocations: 0.5224 MB / 0.8383 GB, free: 65.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.401, allocations: 16.2 MB / 0.8541 GB, free: 49.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/1.407, allocations: 4.081 MB / 0.8581 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.409, allocations: 343.4 kB / 0.8584 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/1.409, allocations: 0 / 0.8584 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.4021/1.811, allocations: 101.2 MB / 0.9573 GB, free: 135.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)