Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 159.2 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] 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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.405e-05, allocations: 2.281 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.257/0.257, allocations: 15.32 MB / 458 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.2713, allocations: 5.458 MB / 463.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005935/0.2772, allocations: 135.2 kB / 463.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.2897, allocations: 4.684 MB / 468.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009679/0.2994, allocations: 3.18 MB / 471.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.304, allocations: 1.677 MB / 473.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.3204, allocations: 10.31 MB / 483.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.3309, allocations: 6.235 MB / 489.7 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.3418, allocations: 4.682 MB / 494.3 MB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008786/0.3506, allocations: 4.868 MB / 499.2 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.3532, allocations: 0.6874 MB / 499.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005779/0.359, allocations: 1.834 MB / 0.49 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006404/0.3654, allocations: 3.966 MB / 0.4938 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007309/0.3727, allocations: 2.481 MB / 0.4963 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.3965, allocations: 13.77 MB / 0.5097 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3965, allocations: 0 / 0.5097 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3965, allocations: 0 / 0.5097 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005566/0.3971, allocations: 0 / 0.5097 GB, free: 6.457 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.03008/0.4272, allocations: 9.268 MB / 0.5188 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4272, allocations: 12.03 kB / 0.5188 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/0.4484, allocations: 4.45 MB / 0.5231 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.4651, allocations: 4.974 MB / 0.528 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006497/0.4657, allocations: 435.3 kB / 0.5284 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003459/0.4692, allocations: 0.5972 MB / 0.529 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0509/0.5201, allocations: 20.76 MB / 0.5492 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000803/0.5209, allocations: 83.34 kB / 0.5493 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/0.5238, allocations: 267.7 kB / 0.5496 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007181/0.531, allocations: 3.716 MB / 0.5532 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04512/0.5761, allocations: 18.22 MB / 0.571 GB, free: 6.336 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.5842/1.16, allocations: 69.99 MB / 0.6394 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02083/1.181, allocations: 6.504 MB / 0.6457 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006249/1.187, allocations: 3.826 MB / 0.6494 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03136/1.219, allocations: 15.08 MB / 0.6642 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/1.219, allocations: 73.38 kB / 0.6642 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 1.004e-05/1.219, allocations: 0 / 0.6642 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.117/1.336, allocations: 36.11 MB / 0.6995 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/1.336, allocations: 200.9 kB / 0.6997 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007819/1.344, allocations: 6.499 MB / 0.706 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008597/1.345, allocations: 81.7 kB / 0.7061 GB, free: 119 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.347, allocations: 5.569 MB / 0.7116 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.349, allocations: 1.587 MB / 0.7131 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/1.351, allocations: 2.113 MB / 0.7152 GB, free: 110 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.392e-05/1.351, allocations: 305.1 kB / 0.7155 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005213/1.356, allocations: 4.347 MB / 0.7197 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007175/1.363, allocations: 10.31 MB / 0.7298 GB, free: 92.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/1.378, allocations: 15.69 MB / 0.7451 GB, free: 73.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002554/1.378, allocations: 60 kB / 0.7452 GB, free: 73.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.0313/1.409, allocations: 16.32 MB / 0.7611 GB, free: 57.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003395/1.41, allocations: 94.16 kB / 0.7612 GB, free: 57.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004975/1.41, allocations: 208 kB / 0.7614 GB, free: 57.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/1.417, allocations: 2.366 MB / 0.7637 GB, free: 54.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008213/1.426, allocations: 2.476 MB / 0.7661 GB, free: 52.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.444, allocations: 12.48 MB / 0.7783 GB, free: 39.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009994/1.454, allocations: 0.7448 MB / 0.779 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002233/1.456, allocations: 0.5976 MB / 0.7796 GB, free: 38.26 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.009086/1.465, allocations: 3.769 MB / 0.7833 GB, free: 34.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.468, allocations: 0.5704 MB / 0.7839 GB, free: 33.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.486, allocations: 8.258 MB / 0.7919 GB, free: 25.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/1.486, allocations: 67.92 kB / 0.792 GB, free: 25.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-05/1.486, allocations: 8 kB / 0.792 GB, free: 25.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-05/1.486, allocations: 19.92 kB / 0.792 GB, free: 25.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04286/1.529, allocations: 16.25 MB / 0.8079 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.017e-05/1.529, allocations: 12 kB / 0.8079 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/1.533, allocations: 0.6201 MB / 0.8085 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007098/1.54, allocations: 1.814 MB / 0.8103 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009469/1.541, allocations: 83.92 kB / 0.8103 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/1.56, allocations: 10.57 MB / 0.8207 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.342e-05/1.56, allocations: 23.94 kB / 0.8207 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/1.59, allocations: 12.41 MB / 0.8328 GB, free: 15.14 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003148/1.593, allocations: 0.5858 MB / 0.8334 GB, free: 14.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/1.596, allocations: 82.17 kB / 0.8335 GB, free: 14.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006477/1.602, allocations: 296.1 kB / 0.8338 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/1.604, allocations: 285.5 kB / 0.834 GB, free: 13.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008458/1.605, allocations: 110 kB / 0.8341 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01027/1.615, allocations: 3.817 MB / 0.8379 GB, free: 10 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.71e-07/1.615, allocations: 0 / 0.8379 GB, free: 10 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01359/1.629, allocations: 2.127 MB / 0.8399 GB, free: 7.879 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.001617/1.63, allocations: 300.2 kB / 0.8402 GB, free: 7.578 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2792/1.91, allocations: 9.683 MB / 0.8497 GB, free: 180 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.91, allocations: 2.219 kB / 0.8497 GB, free: 180 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005987/1.916, allocations: 3.126 MB / 0.8527 GB, free: 179.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/1.921, allocations: 0.6863 MB / 0.8534 GB, free: 179.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03696/1.958, allocations: 17.94 MB / 0.8709 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/1.968, allocations: 5.115 MB / 0.8759 GB, free: 170.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007932/1.976, allocations: 3.273 MB / 0.8791 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.978, allocations: 409.4 kB / 0.8795 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.413e-06/1.978, allocations: 0 / 0.8795 GB, free: 170.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.109/2.087, allocations: 65.16 MB / 0.9431 GB, free: 115.1 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.413544945418835] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.0975969918072224 2.108886518 1.709806507 Calling exit ...