Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001567/0.001567, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001432/0.001432, allocations: 213.1 kB / 25.13 MB, free: 3.605 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.507/1.507, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2292/0.2292, allocations: 46.93 MB / 362 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 87.84 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 66.07 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02107/0.3641, allocations: 17.57 MB / 0.5795 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3765, allocations: 5.722 MB / 0.5851 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003325/0.3798, allocations: 127.4 kB / 0.5852 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00916/0.389, allocations: 4.664 MB / 0.5897 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008667/0.3976, allocations: 3.074 MB / 0.5927 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4015, allocations: 1.498 MB / 0.5942 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.4162, allocations: 8.958 MB / 0.603 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008252/0.4245, allocations: 5.242 MB / 0.6081 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006533/0.431, allocations: 3.049 MB / 0.6111 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008434/0.4394, allocations: 4.627 MB / 0.6156 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00257/0.442, allocations: 0.6602 MB / 0.6162 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.4468, allocations: 1.744 MB / 0.6179 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005556/0.4524, allocations: 3.787 MB / 0.6216 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007107/0.4595, allocations: 4.179 MB / 0.6257 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.479, allocations: 13.62 MB / 0.639 GB, free: 5.422 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.479, allocations: 8 kB / 0.639 GB, free: 5.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.479, allocations: 0 / 0.639 GB, free: 5.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005011/0.4795, allocations: 0 / 0.639 GB, free: 5.414 MB / 478.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.02387/0.5034, allocations: 9.12 MB / 0.6479 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5034, allocations: 8.031 kB / 0.6479 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.5199, allocations: 4.153 MB / 0.652 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.5328, allocations: 5.006 MB / 0.6569 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006836/0.5334, allocations: 438.9 kB / 0.6573 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/0.538, allocations: 0.6011 MB / 0.6579 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04481/0.5829, allocations: 20.71 MB / 0.6781 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/0.5833, allocations: 83.33 kB / 0.6782 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/0.5857, allocations: 267.7 kB / 0.6784 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006016/0.5917, allocations: 3.722 MB / 0.6821 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04154/0.6332, allocations: 18.21 MB / 0.6998 GB, free: 5.746 MB / 0.5294 GB 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.696/1.329, allocations: 74.18 MB / 0.7723 GB, free: 105.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/1.345, allocations: 6.262 MB / 0.7784 GB, free: 104 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004629/1.349, allocations: 3.828 MB / 0.7821 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02316/1.372, allocations: 15.6 MB / 0.7974 GB, free: 91.39 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.372, allocations: 64.59 kB / 0.7974 GB, free: 91.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.252e-06/1.372, allocations: 2.406 kB / 0.7974 GB, free: 91.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1048/1.477, allocations: 34.69 MB / 0.8313 GB, free: 57.19 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.477, allocations: 200.9 kB / 0.8315 GB, free: 56.95 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008995/1.486, allocations: 6.485 MB / 0.8379 GB, free: 50.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.487, allocations: 81.7 kB / 0.8379 GB, free: 50.51 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003336/1.491, allocations: 5.586 MB / 0.8434 GB, free: 45.25 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001905/1.493, allocations: 1.612 MB / 0.845 GB, free: 43.65 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/1.495, allocations: 2.147 MB / 0.8471 GB, free: 41.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/1.495, allocations: 305.1 kB / 0.8473 GB, free: 41.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/1.501, allocations: 4.339 MB / 0.8516 GB, free: 36.86 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008643/1.51, allocations: 10.31 MB / 0.8617 GB, free: 23.68 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/1.526, allocations: 15.66 MB / 0.877 GB, free: 5.09 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/1.526, allocations: 63.94 kB / 0.877 GB, free: 5.027 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03646/1.562, allocations: 16.37 MB / 0.893 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.562, allocations: 96 kB / 0.8931 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003049/1.563, allocations: 204 kB / 0.8933 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008449/1.571, allocations: 2.37 MB / 0.8956 GB, free: 1.969 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008948/1.58, allocations: 2.465 MB / 0.898 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/1.603, allocations: 12.64 MB / 0.9104 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008066/1.611, allocations: 0.5873 MB / 0.9109 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/1.613, allocations: 0.5976 MB / 0.9115 GB, free: 1.551 MB / 0.5919 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 (1316): * Single equations (assignments): 1309 * 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.009087/1.622, allocations: 3.776 MB / 0.9152 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/1.623, allocations: 0.617 MB / 0.9158 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.643, allocations: 8.301 MB / 0.9239 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/1.643, allocations: 63.98 kB / 0.924 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/1.643, allocations: 12 kB / 0.924 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.013e-05/1.643, allocations: 19.92 kB / 0.924 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04442/1.687, allocations: 18.78 MB / 0.9423 GB, free: 1.562 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.16e-05/1.687, allocations: 24.17 kB / 0.9424 GB, free: 1.539 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.691, allocations: 0.624 MB / 0.943 GB, free: 0.9141 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006969/1.698, allocations: 1.807 MB / 0.9447 GB, free: 15.1 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007008/1.698, allocations: 83.97 kB / 0.9448 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/1.717, allocations: 10.73 MB / 0.9553 GB, free: 4.176 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/1.717, allocations: 19.94 kB / 0.9553 GB, free: 4.156 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/1.742, allocations: 12.47 MB / 0.9675 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.744, allocations: 0.5894 MB / 0.9681 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.745, allocations: 72 kB / 0.9681 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/1.748, allocations: 207.7 kB / 0.9683 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008147/1.749, allocations: 277.6 kB / 0.9686 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/1.749, allocations: 112 kB / 0.9687 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007739/1.757, allocations: 4.032 MB / 0.9726 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.757, allocations: 0 / 0.9726 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01033/1.767, allocations: 1.918 MB / 0.9745 GB, free: 216 kB / 0.6544 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.001155/1.768, allocations: 286.3 kB / 0.9748 GB, free: 15.92 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01897/1.787, allocations: 9.686 MB / 0.9842 GB, free: 6.246 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.787, allocations: 0 / 0.9842 GB, free: 6.246 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.793, allocations: 3.121 MB / 0.9873 GB, free: 3.102 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005094/1.798, allocations: 0.798 MB / 0.9881 GB, free: 2.316 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2978/2.096, allocations: 18.08 MB / 1.006 GB, free: 239.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00869/2.105, allocations: 5.583 MB / 1.011 GB, free: 238.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007321/2.112, allocations: 3.318 MB / 1.014 GB, free: 238 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/2.114, allocations: 415.9 kB / 1.015 GB, free: 237.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.953e-06/2.114, allocations: 0 / 1.015 GB, free: 237.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1124/2.226, allocations: 72.97 MB / 1.086 GB, free: 167.5 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.61195290600881] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.2358064719010144 2.243833966 1.762426401 Calling exit ...