Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00194/0.00194, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001932/0.001932, allocations: 216.4 kB / 23.73 MB, free: 4.164 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.92 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02088/0.3659, allocations: 15.31 MB / 0.5724 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.3796, allocations: 5.453 MB / 0.5777 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.3842, allocations: 131.4 kB / 0.5779 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009835/0.394, allocations: 4.466 MB / 0.5822 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.4042, allocations: 3.086 MB / 0.5852 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.4082, allocations: 1.49 MB / 0.5867 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01517/0.4234, allocations: 8.962 MB / 0.5954 GB, free: 472 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009345/0.4327, allocations: 5.215 MB / 0.6005 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007349/0.4401, allocations: 3.061 MB / 0.6035 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009029/0.4491, allocations: 4.369 MB / 0.6078 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002717/0.4518, allocations: 0.6641 MB / 0.6084 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.4567, allocations: 1.725 MB / 0.6101 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005377/0.462, allocations: 3.786 MB / 0.6138 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006441/0.4685, allocations: 3.119 MB / 0.6169 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.4878, allocations: 13.62 MB / 0.6302 GB, free: 12.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.4878, allocations: 7.938 kB / 0.6302 GB, free: 12.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4878, allocations: 0 / 0.6302 GB, free: 12.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004783/0.4882, allocations: 0 / 0.6302 GB, free: 12.71 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.02833/0.5166, allocations: 9.112 MB / 0.6391 GB, free: 3.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.5166, allocations: 12.03 kB / 0.6391 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01846/0.5351, allocations: 4.149 MB / 0.6431 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.5498, allocations: 5.033 MB / 0.648 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/0.5503, allocations: 438.9 kB / 0.6485 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002704/0.553, allocations: 0.5972 MB / 0.649 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04731/0.6003, allocations: 20.71 MB / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.6006, allocations: 87.27 kB / 0.6694 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.6016, allocations: 267.7 kB / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006113/0.6077, allocations: 3.714 MB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04226/0.65, allocations: 18.19 MB / 0.691 GB, free: 13.05 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.7162/1.366, allocations: 69.1 MB / 0.7585 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.383, allocations: 6.253 MB / 0.7646 GB, free: 108.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/1.388, allocations: 3.83 MB / 0.7683 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02519/1.413, allocations: 14.73 MB / 0.7827 GB, free: 100.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.413, allocations: 68.34 kB / 0.7828 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.394e-06/1.413, allocations: 0 / 0.7828 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1026/1.516, allocations: 34.65 MB / 0.8166 GB, free: 66.61 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/1.516, allocations: 192.9 kB / 0.8168 GB, free: 66.38 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006944/1.523, allocations: 6.192 MB / 0.8228 GB, free: 60.46 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008788/1.523, allocations: 85.7 kB / 0.8229 GB, free: 60.37 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.526, allocations: 5.625 MB / 0.8284 GB, free: 54.98 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.528, allocations: 1.607 MB / 0.83 GB, free: 53.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002616/1.531, allocations: 2.147 MB / 0.8321 GB, free: 51.25 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.536e-05/1.531, allocations: 305.1 kB / 0.8324 GB, free: 50.95 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.536, allocations: 4.327 MB / 0.8366 GB, free: 46.61 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007916/1.544, allocations: 10.3 MB / 0.8467 GB, free: 33.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/1.559, allocations: 15.66 MB / 0.862 GB, free: 15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000208/1.559, allocations: 64 kB / 0.862 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02993/1.589, allocations: 16.28 MB / 0.8779 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/1.589, allocations: 92 kB / 0.878 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/1.589, allocations: 212.1 kB / 0.8782 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008153/1.598, allocations: 2.361 MB / 0.8805 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008869/1.606, allocations: 2.46 MB / 0.8829 GB, free: 9.496 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/1.628, allocations: 12.45 MB / 0.8951 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008468/1.637, allocations: 0.5891 MB / 0.8956 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.639, allocations: 0.5976 MB / 0.8962 GB, free: 11.75 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 (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.007338/1.646, allocations: 3.769 MB / 0.8999 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.647, allocations: 0.5675 MB / 0.9005 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.665, allocations: 8.254 MB / 0.9085 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.776e-05/1.666, allocations: 67.92 kB / 0.9086 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/1.666, allocations: 20 kB / 0.9086 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.266e-05/1.666, allocations: 19.92 kB / 0.9086 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03891/1.705, allocations: 16.06 MB / 0.9243 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/1.705, allocations: 12 kB / 0.9243 GB, free: 14.72 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.708, allocations: 0.6327 MB / 0.9249 GB, free: 14.09 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00697/1.715, allocations: 1.807 MB / 0.9267 GB, free: 12.28 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000467/1.715, allocations: 87.94 kB / 0.9268 GB, free: 12.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/1.734, allocations: 10.55 MB / 0.9371 GB, free: 1.555 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/1.734, allocations: 23.12 kB / 0.9371 GB, free: 1.535 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0249/1.759, allocations: 12.43 MB / 0.9492 GB, free: 4.832 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.762, allocations: 0.5195 MB / 0.9498 GB, free: 4.309 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/1.763, allocations: 83.89 kB / 0.9498 GB, free: 4.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/1.767, allocations: 207.8 kB / 0.95 GB, free: 4.027 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008551/1.767, allocations: 281.5 kB / 0.9503 GB, free: 3.75 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003145/1.768, allocations: 116 kB / 0.9504 GB, free: 3.637 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009466/1.777, allocations: 3.567 MB / 0.9539 GB, free: 100 kB / 0.6388 GB Notification: Performance of sort global known variables: time 1.71e-07/1.777, allocations: 4 kB / 0.9539 GB, free: 96 kB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01649/1.794, allocations: 1.91 MB / 0.9558 GB, free: 14.19 MB / 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.00156/1.795, allocations: 286.1 kB / 0.956 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.818, allocations: 9.666 MB / 0.9655 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/1.818, allocations: 4 kB / 0.9655 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006697/1.824, allocations: 3.121 MB / 0.9685 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006896/1.831, allocations: 0.6826 MB / 0.9692 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3504/2.182, allocations: 18.02 MB / 0.9868 GB, free: 241 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.192, allocations: 5.116 MB / 0.9918 GB, free: 240.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007446/2.2, allocations: 3.257 MB / 0.995 GB, free: 240.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/2.201, allocations: 390.1 kB / 0.9953 GB, free: 240.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.164e-06/2.201, allocations: 3.656 kB / 0.9954 GB, free: 240.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1116/2.313, allocations: 70.75 MB / 1.064 GB, free: 183.4 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.833898605778813] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.3229754492640495 2.335600463 1.844269361 Calling exit ...