Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001991/0.001991, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.002582/0.002582, allocations: 163.1 kB / 23.95 MB, free: 4.168 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.473/1.473, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.2159/0.2159, allocations: 34.28 MB / 295 MB, free: 14.59 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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.023e-05, allocations: 10.22 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2412/0.2412, allocations: 15.33 MB / 458 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.2534, allocations: 5.467 MB / 463.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/0.2576, allocations: 126.4 kB / 463.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.2677, allocations: 4.69 MB / 468.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009556/0.2773, allocations: 3.172 MB / 471.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.2807, allocations: 1.673 MB / 473.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.2945, allocations: 10.32 MB / 483.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009739/0.3042, allocations: 6.233 MB / 489.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00929/0.3135, allocations: 4.686 MB / 494.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008273/0.3218, allocations: 4.872 MB / 499.2 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.3234, allocations: 0.6797 MB / 499.9 MB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.3274, allocations: 1.838 MB / 0.49 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004458/0.3319, allocations: 3.962 MB / 0.4939 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005806/0.3377, allocations: 2.481 MB / 0.4963 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02165/0.3594, allocations: 13.77 MB / 0.5097 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3594, allocations: 0 / 0.5097 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3594, allocations: 4 kB / 0.5097 GB, free: 6.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004488/0.3598, allocations: 0 / 0.5097 GB, free: 6.656 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02432/0.3841, allocations: 9.268 MB / 0.5188 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3842, allocations: 12.03 kB / 0.5188 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/0.4041, allocations: 4.447 MB / 0.5231 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.4165, allocations: 4.982 MB / 0.528 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.417, allocations: 427.3 kB / 0.5284 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/0.4195, allocations: 0.6088 MB / 0.529 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04492/0.4644, allocations: 20.75 MB / 0.5493 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.4647, allocations: 83.39 kB / 0.5493 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009037/0.4656, allocations: 271.7 kB / 0.5496 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006206/0.4718, allocations: 3.714 MB / 0.5532 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04172/0.5135, allocations: 18.23 MB / 0.571 GB, free: 6.527 MB / 478.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.547/1.06, allocations: 69.99 MB / 0.6394 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/1.08, allocations: 6.512 MB / 0.6457 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006124/1.086, allocations: 3.823 MB / 0.6495 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03369/1.12, allocations: 15.08 MB / 0.6642 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.12, allocations: 71.28 kB / 0.6643 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 8.566e-06/1.12, allocations: 0 / 0.6643 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1176/1.238, allocations: 36.1 MB / 0.6995 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/1.238, allocations: 196.2 kB / 0.6997 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007948/1.246, allocations: 6.501 MB / 0.7061 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007897/1.246, allocations: 85.7 kB / 0.7061 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.249, allocations: 5.567 MB / 0.7116 GB, free: 114 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.25, allocations: 1.593 MB / 0.7131 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/1.252, allocations: 2.105 MB / 0.7152 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.227e-05/1.252, allocations: 305.1 kB / 0.7155 GB, free: 110 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005266/1.258, allocations: 4.351 MB / 0.7197 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/1.265, allocations: 10.32 MB / 0.7298 GB, free: 92.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/1.279, allocations: 15.69 MB / 0.7451 GB, free: 74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/1.28, allocations: 60 kB / 0.7452 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02752/1.307, allocations: 16.32 MB / 0.7611 GB, free: 57.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.307, allocations: 92 kB / 0.7612 GB, free: 57.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.307, allocations: 208 kB / 0.7614 GB, free: 57.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/1.315, allocations: 2.361 MB / 0.7637 GB, free: 54.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007696/1.322, allocations: 2.476 MB / 0.7661 GB, free: 52.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/1.339, allocations: 12.49 MB / 0.7783 GB, free: 39.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.35, allocations: 0.7449 MB / 0.7791 GB, free: 39.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/1.352, allocations: 0.5976 MB / 0.7796 GB, free: 38.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1312): * Single equations (assignments): 1305 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.007621/1.36, allocations: 3.766 MB / 0.7833 GB, free: 34.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.362, allocations: 0.5704 MB / 0.7839 GB, free: 34.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.379, allocations: 8.258 MB / 0.7919 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/1.379, allocations: 67.92 kB / 0.792 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/1.379, allocations: 12 kB / 0.792 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/1.379, allocations: 15.94 kB / 0.792 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03947/1.419, allocations: 16.26 MB / 0.8079 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.681e-05/1.419, allocations: 16 kB / 0.8079 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003113/1.422, allocations: 0.624 MB / 0.8085 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00675/1.429, allocations: 1.804 MB / 0.8103 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007246/1.429, allocations: 87.92 kB / 0.8104 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/1.447, allocations: 10.58 MB / 0.8207 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/1.447, allocations: 19.88 kB / 0.8207 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/1.475, allocations: 12.4 MB / 0.8328 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/1.478, allocations: 0.5819 MB / 0.8334 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/1.48, allocations: 79.98 kB / 0.8335 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004791/1.484, allocations: 300.6 kB / 0.8338 GB, free: 14.45 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.486, allocations: 281.5 kB / 0.834 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006795/1.486, allocations: 114.4 kB / 0.8341 GB, free: 14.07 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008539/1.495, allocations: 3.813 MB / 0.8379 GB, free: 10.28 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.6e-07/1.495, allocations: 3.75 kB / 0.8379 GB, free: 10.28 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01152/1.506, allocations: 2.127 MB / 0.84 GB, free: 8.156 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001942/1.508, allocations: 299 kB / 0.8402 GB, free: 7.855 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2349/1.743, allocations: 9.682 MB / 0.8497 GB, free: 180.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/1.743, allocations: 5.312 kB / 0.8497 GB, free: 180.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005664/1.749, allocations: 3.122 MB / 0.8527 GB, free: 180 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.754, allocations: 0.6944 MB / 0.8534 GB, free: 179.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/1.792, allocations: 17.95 MB / 0.871 GB, free: 172 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009083/1.801, allocations: 5.11 MB / 0.8759 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007299/1.808, allocations: 3.271 MB / 0.8791 GB, free: 170.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.81, allocations: 407.2 kB / 0.8795 GB, free: 170.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.032e-06/1.81, allocations: 3.938 kB / 0.8795 GB, free: 170.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.1091/1.919, allocations: 65.17 MB / 0.9432 GB, free: 115.4 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.163251180201769] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.9281495660543442 1.936891437 1.575016779 Calling exit ...