Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.97 MB / 361.6 MB, free: 4.098 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0152/0.35, allocations: 11.59 MB / 0.5731 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009684/0.3597, allocations: 4.623 MB / 0.5776 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.3614, allocations: 99.56 kB / 0.5777 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007541/0.3689, allocations: 3.874 MB / 0.5815 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.3743, allocations: 2.241 MB / 0.5837 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.377, allocations: 1.178 MB / 0.5849 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008543/0.3855, allocations: 5.833 MB / 0.5906 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005346/0.3909, allocations: 4.036 MB / 0.5945 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.3944, allocations: 2.197 MB / 0.5966 GB, free: 320 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.3991, allocations: 3.194 MB / 0.5998 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.4002, allocations: 0.5 MB / 0.6003 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.4033, allocations: 1.549 MB / 0.6018 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.4062, allocations: 2.715 MB / 0.6044 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.409, allocations: 2.241 MB / 0.6066 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.4205, allocations: 9.966 MB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4205, allocations: 0 / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4206, allocations: 3.984 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.4208, allocations: 0 / 0.6163 GB, free: 12.07 MB / 462.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.01463/0.4354, allocations: 6.59 MB / 0.6228 GB, free: 5.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4354, allocations: 12.03 kB / 0.6228 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.4531, allocations: 2.743 MB / 0.6255 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009697/0.4628, allocations: 3.587 MB / 0.629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.4631, allocations: 379.8 kB / 0.6293 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.4642, allocations: 431.7 kB / 0.6297 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.4899, allocations: 13.96 MB / 0.6434 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.4901, allocations: 55.58 kB / 0.6434 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005558/0.4907, allocations: 195.8 kB / 0.6436 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/0.4946, allocations: 2.41 MB / 0.646 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.5195, allocations: 11.75 MB / 0.6574 GB, free: 0.9375 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.0788/0.5983, allocations: 47.6 MB / 0.7039 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.6128, allocations: 4.12 MB / 0.708 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/0.6172, allocations: 2.748 MB / 0.7106 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02149/0.6386, allocations: 10.17 MB / 0.7206 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.6387, allocations: 59.81 kB / 0.7206 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 9.358e-06/0.6387, allocations: 7.984 kB / 0.7206 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4384/1.077, allocations: 43.3 MB / 0.7629 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/1.077, allocations: 239.6 kB / 0.7631 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/1.082, allocations: 4.497 MB / 0.7675 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004966/1.082, allocations: 61.7 kB / 0.7676 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/1.084, allocations: 4.029 MB / 0.7715 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/1.085, allocations: 0.9673 MB / 0.7725 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/1.086, allocations: 1.511 MB / 0.7739 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.396e-05/1.086, allocations: 305.1 kB / 0.7742 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/1.09, allocations: 3.438 MB / 0.7776 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/1.095, allocations: 7.745 MB / 0.7852 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/1.111, allocations: 11.86 MB / 0.7967 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/1.111, allocations: 44 kB / 0.7968 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03878/1.15, allocations: 14.39 MB / 0.8108 GB, free: 88.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.15, allocations: 68 kB / 0.8109 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.15, allocations: 156.1 kB / 0.811 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/1.162, allocations: 4.016 MB / 0.815 GB, free: 84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004878/1.167, allocations: 1.63 MB / 0.8166 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.189, allocations: 19.51 MB / 0.8356 GB, free: 62.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.195, allocations: 455.5 kB / 0.8361 GB, free: 62.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007845/1.196, allocations: 432 kB / 0.8365 GB, free: 61.89 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 (880): * Single equations (assignments): 876 * 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.003172/1.199, allocations: 2.66 MB / 0.8391 GB, free: 59.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006858/1.2, allocations: 413.3 kB / 0.8395 GB, free: 58.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.216, allocations: 8.562 MB / 0.8478 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.216, allocations: 29.34 kB / 0.8478 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/1.216, allocations: 12 kB / 0.8479 GB, free: 50.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/1.216, allocations: 15.95 kB / 0.8479 GB, free: 50.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/1.246, allocations: 16.15 MB / 0.8636 GB, free: 34.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.246, allocations: 0 / 0.8636 GB, free: 34.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.248, allocations: 399.4 kB / 0.864 GB, free: 33.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01163/1.259, allocations: 4.065 MB / 0.868 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000412/1.26, allocations: 43.98 kB / 0.868 GB, free: 29.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/1.281, allocations: 17.9 MB / 0.8855 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.281, allocations: 3.938 kB / 0.8855 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02265/1.304, allocations: 13.18 MB / 0.8984 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.305, allocations: 369.1 kB / 0.8987 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007139/1.306, allocations: 36 kB / 0.8988 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.308, allocations: 219.3 kB / 0.899 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007322/1.309, allocations: 162.1 kB / 0.8991 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.309, allocations: 64.45 kB / 0.8992 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006036/1.315, allocations: 2.605 MB / 0.9017 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.315, allocations: 0 / 0.9017 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008195/1.323, allocations: 1.468 MB / 0.9032 GB, free: 9.383 MB / 0.5762 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.0007609/1.324, allocations: 222.4 kB / 0.9034 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.338, allocations: 7.899 MB / 0.9111 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.338, allocations: 4 kB / 0.9111 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/1.343, allocations: 2.865 MB / 0.9139 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.346, allocations: 465 kB / 0.9144 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/1.372, allocations: 13.1 MB / 0.9271 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006125/1.378, allocations: 3.579 MB / 0.9306 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005575/1.384, allocations: 2.133 MB / 0.9327 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/1.385, allocations: 259.4 kB / 0.933 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.342e-06/1.385, allocations: 0 / 0.933 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.3561/1.741, allocations: 66.28 MB / 0.9977 GB, free: 210 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.116812943000696] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 1.7500718659866834 1.75894916 1.336063028 Calling exit ...