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.001374/0.001374, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00165/0.00165, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.466/1.466, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2255/0.2255, allocations: 46.9 MB / 361.1 MB, free: 4.629 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-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.002458/0.002458, allocations: 83.86 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3523, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02074/0.3731, allocations: 17.75 MB / 0.5785 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.3858, allocations: 5.745 MB / 0.5841 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.3887, allocations: 107.7 kB / 0.5842 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009427/0.3981, allocations: 4.656 MB / 0.5888 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008773/0.4069, allocations: 3.051 MB / 0.5918 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.4106, allocations: 1.497 MB / 0.5932 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.4241, allocations: 8.947 MB / 0.602 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008089/0.4322, allocations: 4.812 MB / 0.6067 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006269/0.4385, allocations: 3.022 MB / 0.6096 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008175/0.4467, allocations: 4.615 MB / 0.6141 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.4494, allocations: 0.6641 MB / 0.6148 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/0.4544, allocations: 1.881 MB / 0.6166 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00591/0.4603, allocations: 3.786 MB / 0.6203 GB, free: 8.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007553/0.4679, allocations: 4.183 MB / 0.6244 GB, free: 4.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01964/0.4875, allocations: 13.55 MB / 0.6376 GB, free: 6.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4875, allocations: 0 / 0.6376 GB, free: 6.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4876, allocations: 4 kB / 0.6376 GB, free: 6.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003601/0.4879, allocations: 0 / 0.6376 GB, free: 6.43 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.02101/0.5089, allocations: 9.195 MB / 0.6466 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.509, allocations: 12.03 kB / 0.6466 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.5264, allocations: 4.153 MB / 0.6507 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5391, allocations: 5.093 MB / 0.6556 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/0.5395, allocations: 434.9 kB / 0.6561 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.5412, allocations: 0.5933 MB / 0.6566 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04236/0.5836, allocations: 20.64 MB / 0.6768 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002192/0.5838, allocations: 79.34 kB / 0.6769 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008256/0.5847, allocations: 267.7 kB / 0.6771 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006025/0.5907, allocations: 3.718 MB / 0.6808 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04061/0.6313, allocations: 18.21 MB / 0.6985 GB, free: 6.691 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.6343/1.266, allocations: 74.39 MB / 0.7712 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/1.282, allocations: 7.177 MB / 0.7782 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004733/1.287, allocations: 3.832 MB / 0.7819 GB, free: 99.79 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03569/1.322, allocations: 18.3 MB / 0.7998 GB, free: 87.59 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.323, allocations: 70.44 kB / 0.7999 GB, free: 87.52 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.022e-06/1.323, allocations: 0 / 0.7999 GB, free: 87.52 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1021/1.425, allocations: 35.07 MB / 0.8341 GB, free: 52.88 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.425, allocations: 196.4 kB / 0.8343 GB, free: 52.65 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006466/1.431, allocations: 6.481 MB / 0.8406 GB, free: 46.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005046/1.432, allocations: 89.7 kB / 0.8407 GB, free: 46.21 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/1.434, allocations: 5.576 MB / 0.8462 GB, free: 40.95 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.435, allocations: 1.611 MB / 0.8477 GB, free: 39.36 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.437, allocations: 2.151 MB / 0.8498 GB, free: 37.21 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/1.437, allocations: 301.1 kB / 0.8501 GB, free: 36.91 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.442, allocations: 4.343 MB / 0.8544 GB, free: 32.56 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007495/1.45, allocations: 10.28 MB / 0.8644 GB, free: 19.43 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/1.464, allocations: 15.67 MB / 0.8797 GB, free: 0.832 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.464, allocations: 63.94 kB / 0.8798 GB, free: 0.7695 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03452/1.498, allocations: 16.37 MB / 0.8958 GB, free: 376 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.498, allocations: 92 kB / 0.8959 GB, free: 284 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002506/1.499, allocations: 209.3 kB / 0.8961 GB, free: 76 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008226/1.507, allocations: 2.362 MB / 0.8984 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008714/1.516, allocations: 2.468 MB / 0.9008 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/1.538, allocations: 12.75 MB / 0.9132 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008782/1.547, allocations: 0.5971 MB / 0.9138 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.549, allocations: 0.5959 MB / 0.9144 GB, free: 13.16 MB / 0.6075 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.007456/1.556, allocations: 3.775 MB / 0.9181 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.557, allocations: 0.6208 MB / 0.9187 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.576, allocations: 8.291 MB / 0.9268 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/1.576, allocations: 70.34 kB / 0.9268 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/1.576, allocations: 12 kB / 0.9269 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-05/1.576, allocations: 19.88 kB / 0.9269 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04217/1.618, allocations: 18.81 MB / 0.9453 GB, free: 13.12 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-05/1.619, allocations: 12 kB / 0.9453 GB, free: 13.11 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/1.622, allocations: 0.6279 MB / 0.9459 GB, free: 12.49 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007297/1.629, allocations: 1.816 MB / 0.9477 GB, free: 10.67 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006446/1.63, allocations: 83.92 kB / 0.9477 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/1.65, allocations: 10.84 MB / 0.9583 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-05/1.65, allocations: 15.94 kB / 0.9583 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/1.675, allocations: 12.49 MB / 0.9705 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.677, allocations: 0.653 MB / 0.9712 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/1.678, allocations: 83.92 kB / 0.9712 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/1.681, allocations: 203.7 kB / 0.9714 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/1.681, allocations: 265.7 kB / 0.9717 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/1.682, allocations: 112 kB / 0.9718 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006789/1.688, allocations: 4.024 MB / 0.9757 GB, free: 13.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.688, allocations: 0 / 0.9757 GB, free: 13.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008852/1.697, allocations: 1.918 MB / 0.9776 GB, free: 11.56 MB / 0.67 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.0008085/1.698, allocations: 286.2 kB / 0.9779 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.717, allocations: 9.682 MB / 0.9873 GB, free: 1.602 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/1.717, allocations: 8.188 kB / 0.9873 GB, free: 1.594 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2804/1.997, allocations: 3.11 MB / 0.9904 GB, free: 243.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/2.002, allocations: 0.7991 MB / 0.9912 GB, free: 243.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/2.029, allocations: 18.08 MB / 1.009 GB, free: 237.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006246/2.036, allocations: 5.582 MB / 1.014 GB, free: 235.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006471/2.042, allocations: 3.311 MB / 1.017 GB, free: 235.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/2.043, allocations: 416.8 kB / 1.018 GB, free: 235.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/2.043, allocations: 0 / 1.018 GB, free: 235.3 MB / 0.67 GB Notification: Performance of Templates: time 0.103/2.146, allocations: 68.58 MB / 1.085 GB, free: 168.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.414891571272165] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.155860158149153 2.1640265 1.67400961 Calling exit ...