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.001216/0.001216, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.005863/0.005863, allocations: 154 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8857/0.8857, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2507/0.2507, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 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 2.224e-06/2.224e-06, allocations: 0 / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.025e-05, allocations: 6.219 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.1946/0.1946, allocations: 15.33 MB / 458.7 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.2011, allocations: 5.461 MB / 464.2 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2022, allocations: 131.2 kB / 464.3 MB, free: 31.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003234/0.2055, allocations: 4.678 MB / 469 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.2085, allocations: 3.174 MB / 472.2 MB, free: 28.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.21, allocations: 1.671 MB / 473.8 MB, free: 27.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.2148, allocations: 10.33 MB / 484.2 MB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004894/0.2197, allocations: 6.221 MB / 490.4 MB, free: 21.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005487/0.2252, allocations: 4.687 MB / 495.1 MB, free: 19.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005523/0.2307, allocations: 4.88 MB / 500 MB, free: 18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009824/0.2317, allocations: 0.6777 MB / 0.4889 GB, free: 18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.2344, allocations: 1.831 MB / 0.4907 GB, free: 17.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.2367, allocations: 3.971 MB / 0.4946 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.2387, allocations: 2.48 MB / 0.497 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2488, allocations: 13.78 MB / 0.5105 GB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2488, allocations: 0 / 0.5105 GB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2489, allocations: 0 / 0.5105 GB, free: 1.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.249, allocations: 0 / 0.5105 GB, free: 1.16 MB / 410.7 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.01088/0.2599, allocations: 9.264 MB / 0.5195 GB, free: 7.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2599, allocations: 8.031 kB / 0.5195 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008371/0.2683, allocations: 4.266 MB / 0.5237 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/0.2745, allocations: 4.979 MB / 0.5285 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.2747, allocations: 439.3 kB / 0.529 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/0.2754, allocations: 0.6049 MB / 0.5296 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.2963, allocations: 20.73 MB / 0.5498 GB, free: 7.547 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.2964, allocations: 83.33 kB / 0.5499 GB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/0.2969, allocations: 274.5 kB / 0.5501 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002936/0.2998, allocations: 3.71 MB / 0.5538 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/0.3224, allocations: 18.22 MB / 0.5715 GB, free: 1.262 MB / 474.7 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.4285/0.7509, allocations: 69.97 MB / 0.6399 GB, free: 98.29 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009647/0.7605, allocations: 6.51 MB / 0.6462 GB, free: 98.19 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.7636, allocations: 3.825 MB / 0.65 GB, free: 98.14 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/0.7789, allocations: 15.07 MB / 0.6647 GB, free: 92.97 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7789, allocations: 71.36 kB / 0.6647 GB, free: 92.91 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=335): time 6.061e-06/0.7789, allocations: 3.938 kB / 0.6647 GB, free: 92.91 MB / 0.5262 GB Notification: Performance of matching and sorting (n=419): time 0.06371/0.8427, allocations: 36.11 MB / 0.7 GB, free: 83.01 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.8427, allocations: 195.3 kB / 0.7002 GB, free: 82.82 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.8474, allocations: 6.511 MB / 0.7066 GB, free: 80.61 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.8476, allocations: 81.3 kB / 0.7066 GB, free: 80.54 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.8491, allocations: 5.564 MB / 0.7121 GB, free: 76.43 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007261/0.8498, allocations: 1.596 MB / 0.7136 GB, free: 75.23 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/0.8514, allocations: 2.104 MB / 0.7157 GB, free: 74.2 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.76e-05/0.8514, allocations: 301.1 kB / 0.716 GB, free: 73.91 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.8549, allocations: 4.335 MB / 0.7202 GB, free: 71.26 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.8598, allocations: 10.3 MB / 0.7303 GB, free: 58.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009688/0.8695, allocations: 15.66 MB / 0.7456 GB, free: 41.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.343e-05/0.8695, allocations: 60 kB / 0.7456 GB, free: 41.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.01602/0.8856, allocations: 16.28 MB / 0.7615 GB, free: 25.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.8856, allocations: 100.9 kB / 0.7616 GB, free: 25.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.8857, allocations: 204 kB / 0.7618 GB, free: 25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/0.8894, allocations: 2.372 MB / 0.7641 GB, free: 22.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/0.8932, allocations: 2.449 MB / 0.7665 GB, free: 20.17 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.9037, allocations: 12.48 MB / 0.7787 GB, free: 7.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/0.9086, allocations: 0.7055 MB / 0.7794 GB, free: 6.887 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/0.9091, allocations: 0.5976 MB / 0.78 GB, free: 6.289 MB / 0.5262 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.004288/0.9134, allocations: 3.769 MB / 0.7836 GB, free: 2.508 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/0.9142, allocations: 0.5743 MB / 0.7842 GB, free: 1.93 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00993/0.9241, allocations: 8.25 MB / 0.7923 GB, free: 9.637 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/0.9242, allocations: 67.98 kB / 0.7923 GB, free: 9.57 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.9242, allocations: 12.5 kB / 0.7923 GB, free: 9.559 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.9242, allocations: 23.86 kB / 0.7924 GB, free: 9.535 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/0.944, allocations: 16.25 MB / 0.8082 GB, free: 9.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.9441, allocations: 14.69 kB / 0.8082 GB, free: 9.078 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.9455, allocations: 0.6242 MB / 0.8089 GB, free: 8.453 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/0.9489, allocations: 1.807 MB / 0.8106 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.9491, allocations: 83.98 kB / 0.8107 GB, free: 6.559 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.9594, allocations: 10.58 MB / 0.821 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.9595, allocations: 23.88 kB / 0.8211 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.9727, allocations: 12.41 MB / 0.8332 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.9738, allocations: 0.578 MB / 0.8337 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/0.9742, allocations: 87.73 kB / 0.8338 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.9757, allocations: 275.6 kB / 0.8341 GB, free: 14.24 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.976, allocations: 285.5 kB / 0.8344 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.9762, allocations: 108 kB / 0.8345 GB, free: 13.86 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.003975/0.9802, allocations: 3.817 MB / 0.8382 GB, free: 10.07 MB / 0.5887 GB Notification: Performance of sort global known variables: time 7e-08/0.9802, allocations: 0 / 0.8382 GB, free: 10.07 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.00562/0.9858, allocations: 2.132 MB / 0.8403 GB, free: 7.938 MB / 0.5887 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.0005433/0.9863, allocations: 298.8 kB / 0.8406 GB, free: 7.637 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.9965, allocations: 9.661 MB / 0.85 GB, free: 13.99 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.9965, allocations: 5.75 kB / 0.85 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.9994, allocations: 3.13 MB / 0.8531 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.002, allocations: 0.6862 MB / 0.8537 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2074/1.209, allocations: 18.75 MB / 0.872 GB, free: 202.9 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003732/1.213, allocations: 5.092 MB / 0.877 GB, free: 202.5 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.214, allocations: 487.6 kB / 0.8775 GB, free: 202.5 MB / 0.6043 GB Notification: Performance of SimCode: time 1.794e-06/1.214, allocations: 0 / 0.8775 GB, free: 202.5 MB / 0.6043 GB Notification: Performance of Templates: time 0.124/1.338, allocations: 143.9 MB / 1.018 GB, free: 100.9 MB / 0.6043 GB " [Timeout remaining time 659] 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: 13.110564339905977] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.3448812309652567 1.352798032 1.1025957690000001 Calling exit ...