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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108.8 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.246/0.246, allocations: 44.91 MB / 353.5 MB, free: 11.83 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4163, allocations: 64.28 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02173/0.4381, allocations: 17.83 MB / 0.5662 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.4527, allocations: 5.745 MB / 0.5718 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004571/0.4572, allocations: 127.4 kB / 0.5719 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009649/0.4669, allocations: 4.664 MB / 0.5765 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009026/0.4759, allocations: 3.121 MB / 0.5795 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.48, allocations: 1.497 MB / 0.581 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.4965, allocations: 8.757 MB / 0.5896 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009243/0.5057, allocations: 4.828 MB / 0.5943 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00675/0.5125, allocations: 3.061 MB / 0.5973 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007988/0.5205, allocations: 4.627 MB / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.5232, allocations: 0.6641 MB / 0.6024 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.5285, allocations: 1.904 MB / 0.6043 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006392/0.5349, allocations: 3.822 MB / 0.608 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009832/0.5448, allocations: 4.218 MB / 0.6121 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0207/0.5655, allocations: 13.63 MB / 0.6254 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5655, allocations: 0 / 0.6254 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5655, allocations: 0 / 0.6254 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006455/0.5661, allocations: 0 / 0.6254 GB, free: 0.6367 MB / 462.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.02667/0.5928, allocations: 9.182 MB / 0.6344 GB, free: 7.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5928, allocations: 8.922 kB / 0.6344 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.6105, allocations: 4.149 MB / 0.6385 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.6237, allocations: 5.115 MB / 0.6435 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.6242, allocations: 430.9 kB / 0.6439 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/0.6272, allocations: 0.6011 MB / 0.6445 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04261/0.6698, allocations: 20.63 MB / 0.6646 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/0.67, allocations: 71.41 kB / 0.6647 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008335/0.6708, allocations: 271.7 kB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005766/0.6766, allocations: 3.722 MB / 0.6686 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03871/0.7153, allocations: 18.21 MB / 0.6864 GB, free: 0.9102 MB / 0.5137 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.8086/1.524, allocations: 74.43 MB / 0.759 GB, free: 112.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.542, allocations: 6.248 MB / 0.7651 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005255/1.547, allocations: 3.825 MB / 0.7689 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02759/1.574, allocations: 15.6 MB / 0.7841 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/1.574, allocations: 66.5 kB / 0.7842 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.823e-06/1.574, allocations: 2.031 kB / 0.7842 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1166/1.691, allocations: 34.95 MB / 0.8183 GB, free: 71.29 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/1.691, allocations: 196.4 kB / 0.8185 GB, free: 71.06 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008847/1.7, allocations: 6.486 MB / 0.8248 GB, free: 64.71 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.701, allocations: 85.7 kB / 0.8249 GB, free: 64.62 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002829/1.704, allocations: 5.593 MB / 0.8304 GB, free: 59.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.705, allocations: 1.615 MB / 0.8319 GB, free: 57.74 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002625/1.708, allocations: 2.148 MB / 0.834 GB, free: 55.59 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/1.708, allocations: 305.1 kB / 0.8343 GB, free: 55.29 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00561/1.714, allocations: 4.335 MB / 0.8386 GB, free: 50.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008053/1.722, allocations: 10.28 MB / 0.8486 GB, free: 37.86 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.737, allocations: 15.68 MB / 0.8639 GB, free: 19.35 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001693/1.737, allocations: 60 kB / 0.864 GB, free: 19.29 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03638/1.774, allocations: 16.35 MB / 0.8799 GB, free: 2.914 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003878/1.774, allocations: 96.06 kB / 0.88 GB, free: 2.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005042/1.775, allocations: 208 kB / 0.8802 GB, free: 2.617 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007787/1.782, allocations: 2.361 MB / 0.8825 GB, free: 260 kB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009749/1.792, allocations: 2.468 MB / 0.885 GB, free: 13.78 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/1.817, allocations: 12.65 MB / 0.8973 GB, free: 1.012 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00848/1.826, allocations: 0.5814 MB / 0.8979 GB, free: 440 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/1.828, allocations: 0.6055 MB / 0.8985 GB, free: 15.82 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.009696/1.837, allocations: 3.765 MB / 0.9021 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.84, allocations: 0.6248 MB / 0.9028 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/1.86, allocations: 8.299 MB / 0.9109 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/1.86, allocations: 59.36 kB / 0.9109 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/1.86, allocations: 16 kB / 0.9109 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-05/1.86, allocations: 19.92 kB / 0.9109 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04409/1.904, allocations: 18.8 MB / 0.9293 GB, free: 15.88 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/1.904, allocations: 12 kB / 0.9293 GB, free: 15.86 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/1.908, allocations: 0.624 MB / 0.9299 GB, free: 15.24 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007269/1.915, allocations: 1.812 MB / 0.9317 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007566/1.916, allocations: 79.98 kB / 0.9318 GB, free: 13.34 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/1.935, allocations: 10.73 MB / 0.9423 GB, free: 2.504 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/1.935, allocations: 19.94 kB / 0.9423 GB, free: 2.484 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02514/1.961, allocations: 12.47 MB / 0.9544 GB, free: 5.738 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.963, allocations: 0.5827 MB / 0.955 GB, free: 5.152 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/1.965, allocations: 75.98 kB / 0.9551 GB, free: 5.078 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003898/1.969, allocations: 203.8 kB / 0.9553 GB, free: 4.879 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009452/1.97, allocations: 277.6 kB / 0.9555 GB, free: 4.605 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003218/1.97, allocations: 123.9 kB / 0.9557 GB, free: 4.484 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00834/1.978, allocations: 4.02 MB / 0.9596 GB, free: 484 kB / 0.6388 GB Notification: Performance of sort global known variables: time 1.3e-07/1.978, allocations: 0 / 0.9596 GB, free: 484 kB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01061/1.989, allocations: 1.957 MB / 0.9615 GB, free: 14.52 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.00117/1.99, allocations: 286.2 kB / 0.9618 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01916/2.009, allocations: 9.679 MB / 0.9712 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/2.009, allocations: 8.25 kB / 0.9712 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006536/2.016, allocations: 3.117 MB / 0.9743 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/2.022, allocations: 0.7873 MB / 0.975 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3341/2.356, allocations: 18.09 MB / 0.9927 GB, free: 245.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009643/2.366, allocations: 5.579 MB / 0.9982 GB, free: 244.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007823/2.374, allocations: 3.315 MB / 1.001 GB, free: 244.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/2.375, allocations: 421.2 kB / 1.002 GB, free: 244.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/2.375, allocations: 0 / 1.002 GB, free: 244.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1162/2.491, allocations: 73.24 MB / 1.073 GB, free: 187.6 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: 10.335326331667602] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.501481357961893 2.5111679 1.942945767 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fde39bbd7b0>