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.00137/0.00137, allocations: 117.2 kB / 17.09 MB, free: 5.957 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.001541/0.001541, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.473/1.473, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2205/0.2205, allocations: 43.52 MB / 314.8 MB, free: 444 kB / 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.001639/0.001639, allocations: 65.62 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01468/0.1309, allocations: 13.31 MB / 0.5015 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1411, allocations: 4.841 MB / 0.5063 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.144, allocations: 79.81 kB / 0.5063 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00757/0.1516, allocations: 3.983 MB / 0.5102 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.158, allocations: 2.202 MB / 0.5124 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.161, allocations: 1.185 MB / 0.5135 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008583/0.1696, allocations: 5.576 MB / 0.519 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00657/0.1762, allocations: 5.194 MB / 0.5241 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.1805, allocations: 2.189 MB / 0.5262 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004981/0.1855, allocations: 2.976 MB / 0.5291 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002083/0.1876, allocations: 0.5 MB / 0.5296 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2429/0.4305, allocations: 1.638 MB / 0.5312 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003682/0.4343, allocations: 2.692 MB / 0.5338 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007908/0.4422, allocations: 3.027 MB / 0.5368 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.4569, allocations: 9.95 MB / 0.5465 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.457, allocations: 1.25 kB / 0.5465 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.457, allocations: 3.688 kB / 0.5465 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000391/0.4574, allocations: 0.6875 kB / 0.5465 GB, free: 10.71 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.0227/0.4801, allocations: 6.526 MB / 0.5529 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4802, allocations: 14.27 kB / 0.5529 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0194/0.4996, allocations: 2.716 MB / 0.5555 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.5112, allocations: 3.794 MB / 0.5592 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.5116, allocations: 360 kB / 0.5596 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.5141, allocations: 429.2 kB / 0.56 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02927/0.5433, allocations: 13.85 MB / 0.5735 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002093/0.5436, allocations: 53.7 kB / 0.5736 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.5449, allocations: 204.1 kB / 0.5738 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003669/0.5486, allocations: 2.41 MB / 0.5761 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/0.5756, allocations: 11.75 MB / 0.5876 GB, free: 3.203 MB / 430.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.07633/0.652, allocations: 51.54 MB / 0.6379 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.6656, allocations: 4.737 MB / 0.6426 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004545/0.6702, allocations: 2.961 MB / 0.6454 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02149/0.6917, allocations: 12.86 MB / 0.658 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.6918, allocations: 57.94 kB / 0.6581 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 4.88e-06/0.6918, allocations: 0 / 0.6581 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1698/0.8617, allocations: 43.46 MB / 0.7005 GB, free: 14.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.8618, allocations: 231.2 kB / 0.7007 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/0.8725, allocations: 4.798 MB / 0.7054 GB, free: 9.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007642/0.8733, allocations: 61.7 kB / 0.7055 GB, free: 8.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003443/0.8768, allocations: 3.841 MB / 0.7092 GB, free: 5.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.8784, allocations: 0.9333 MB / 0.7101 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005313/0.8838, allocations: 1.51 MB / 0.7116 GB, free: 2.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8839, allocations: 305.1 kB / 0.7119 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006667/0.8906, allocations: 3.442 MB / 0.7152 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/0.9014, allocations: 7.708 MB / 0.7228 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/0.9175, allocations: 11.87 MB / 0.7344 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/0.9177, allocations: 48 kB / 0.7344 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03639/0.9541, allocations: 14.48 MB / 0.7486 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.9544, allocations: 68 kB / 0.7486 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/0.9547, allocations: 152.2 kB / 0.7488 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.9684, allocations: 4.017 MB / 0.7527 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006181/0.9747, allocations: 1.634 MB / 0.7543 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2919/1.267, allocations: 19.84 MB / 0.7737 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/1.274, allocations: 458.1 kB / 0.7741 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/1.276, allocations: 435.3 kB / 0.7745 GB, free: 199.4 MB / 0.5919 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.006613/1.283, allocations: 2.663 MB / 0.7771 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.284, allocations: 428.6 kB / 0.7775 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.303, allocations: 8.646 MB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/1.303, allocations: 29.94 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.303, allocations: 11.84 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/1.303, allocations: 15.75 kB / 0.786 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/1.34, allocations: 17.84 MB / 0.8034 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/1.34, allocations: 7.172 kB / 0.8034 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.343, allocations: 402.2 kB / 0.8038 GB, free: 186.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/1.355, allocations: 4.071 MB / 0.8078 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007881/1.356, allocations: 39.06 kB / 0.8078 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/1.378, allocations: 18.22 MB / 0.8256 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.378, allocations: 0 / 0.8256 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/1.401, allocations: 13.22 MB / 0.8385 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.404, allocations: 0.9579 MB / 0.8395 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.406, allocations: 41.25 kB / 0.8395 GB, free: 150.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.409, allocations: 223.4 kB / 0.8397 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007187/1.41, allocations: 150.2 kB / 0.8399 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.41, allocations: 68.69 kB / 0.8399 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005475/1.415, allocations: 2.993 MB / 0.8429 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.92e-07/1.415, allocations: 0 / 0.8429 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008177/1.424, allocations: 1.487 MB / 0.8443 GB, free: 145.6 MB / 0.5919 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.0008908/1.425, allocations: 224.9 kB / 0.8445 GB, free: 145.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.436, allocations: 8.28 MB / 0.8526 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.436, allocations: 0 / 0.8526 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004407/1.441, allocations: 3.116 MB / 0.8557 GB, free: 134 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/1.445, allocations: 0.5278 MB / 0.8562 GB, free: 133.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.469, allocations: 13.45 MB / 0.8693 GB, free: 120 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006946/1.476, allocations: 4.094 MB / 0.8733 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.477, allocations: 331.4 kB / 0.8736 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.477, allocations: 0 / 0.8736 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.128/1.605, allocations: 102.8 MB / 0.974 GB, free: 12.63 MB / 0.5919 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)