Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001399/0.001399, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002352/0.002352, allocations: 211.4 kB / 24.48 MB, free: 3.977 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 2.101/2.101, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 46.96 MB / 361.6 MB, free: 4.047 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+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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01966/0.3298, allocations: 15.31 MB / 0.5768 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.3419, allocations: 5.457 MB / 0.5821 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.3447, allocations: 127.4 kB / 0.5822 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008889/0.3536, allocations: 4.47 MB / 0.5866 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007625/0.3612, allocations: 3.086 MB / 0.5896 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.3643, allocations: 1.49 MB / 0.591 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.3756, allocations: 8.966 MB / 0.5998 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006392/0.382, allocations: 5.242 MB / 0.6049 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/0.3867, allocations: 3.057 MB / 0.6079 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006731/0.3934, allocations: 4.619 MB / 0.6124 GB, free: 132 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.3949, allocations: 0.6602 MB / 0.6131 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.3982, allocations: 1.748 MB / 0.6148 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.402, allocations: 3.787 MB / 0.6185 GB, free: 9.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004098/0.4061, allocations: 3.122 MB / 0.6215 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.422, allocations: 13.61 MB / 0.6348 GB, free: 9.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.422, allocations: 0 / 0.6348 GB, free: 9.113 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.422, allocations: 4 kB / 0.6348 GB, free: 9.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002667/0.4223, allocations: 0 / 0.6348 GB, free: 9.109 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.01942/0.4417, allocations: 9.124 MB / 0.6437 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4418, allocations: 8.031 kB / 0.6437 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.4589, allocations: 4.157 MB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.4725, allocations: 5.033 MB / 0.6527 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.473, allocations: 430.9 kB / 0.6531 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.4753, allocations: 0.605 MB / 0.6537 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04175/0.517, allocations: 20.71 MB / 0.6739 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/0.5173, allocations: 79.34 kB / 0.674 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009312/0.5182, allocations: 271.7 kB / 0.6743 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005838/0.524, allocations: 3.718 MB / 0.6779 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/0.5627, allocations: 18.18 MB / 0.6957 GB, free: 9.441 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.5567/1.119, allocations: 69.11 MB / 0.7631 GB, free: 79.47 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/1.135, allocations: 6.246 MB / 0.7692 GB, free: 79.33 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.14, allocations: 3.829 MB / 0.773 GB, free: 79.28 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/1.164, allocations: 14.72 MB / 0.7874 GB, free: 74.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.164, allocations: 66.75 kB / 0.7874 GB, free: 74.64 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.915e-06/1.164, allocations: 3.984 kB / 0.7874 GB, free: 74.64 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1059/1.27, allocations: 34.65 MB / 0.8213 GB, free: 47.93 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/1.27, allocations: 196.8 kB / 0.8215 GB, free: 47.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/1.276, allocations: 6.191 MB / 0.8275 GB, free: 41.79 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005079/1.277, allocations: 89.7 kB / 0.8276 GB, free: 41.69 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.279, allocations: 5.618 MB / 0.8331 GB, free: 36.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.28, allocations: 1.609 MB / 0.8346 GB, free: 34.75 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002261/1.282, allocations: 2.14 MB / 0.8367 GB, free: 32.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/1.282, allocations: 305.1 kB / 0.837 GB, free: 32.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004976/1.287, allocations: 4.327 MB / 0.8412 GB, free: 27.97 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006833/1.294, allocations: 10.3 MB / 0.8513 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.308, allocations: 15.66 MB / 0.8666 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/1.308, allocations: 64 kB / 0.8667 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.0332/1.342, allocations: 16.27 MB / 0.8826 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.342, allocations: 96 kB / 0.8826 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000279/1.342, allocations: 212.2 kB / 0.8828 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008519/1.35, allocations: 2.375 MB / 0.8852 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008865/1.359, allocations: 2.456 MB / 0.8876 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/1.382, allocations: 12.45 MB / 0.8997 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007631/1.389, allocations: 0.5854 MB / 0.9003 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.391, allocations: 0.5998 MB / 0.9009 GB, free: 10.89 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 (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.006656/1.397, allocations: 3.761 MB / 0.9046 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.399, allocations: 0.5743 MB / 0.9051 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/1.418, allocations: 8.261 MB / 0.9132 GB, free: 14.23 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.7e-05/1.418, allocations: 63.98 kB / 0.9132 GB, free: 14.17 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/1.418, allocations: 13.64 kB / 0.9133 GB, free: 14.16 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.418, allocations: 15.94 kB / 0.9133 GB, free: 14.14 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03807/1.456, allocations: 16.09 MB / 0.929 GB, free: 13.88 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.575e-05/1.456, allocations: 12 kB / 0.929 GB, free: 13.87 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003095/1.459, allocations: 0.6264 MB / 0.9296 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007598/1.467, allocations: 1.804 MB / 0.9314 GB, free: 11.44 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.467, allocations: 79.98 kB / 0.9314 GB, free: 11.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.487, allocations: 10.55 MB / 0.9417 GB, free: 0.7266 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/1.487, allocations: 19.88 kB / 0.9418 GB, free: 0.707 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/1.511, allocations: 12.43 MB / 0.9539 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.513, allocations: 0.5233 MB / 0.9544 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007735/1.513, allocations: 72 kB / 0.9545 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/1.516, allocations: 210.9 kB / 0.9547 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006965/1.517, allocations: 273.5 kB / 0.9549 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/1.517, allocations: 119.9 kB / 0.9551 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005932/1.523, allocations: 3.575 MB / 0.9586 GB, free: 15.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.523, allocations: 0 / 0.9586 GB, free: 15.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009932/1.533, allocations: 1.909 MB / 0.9604 GB, free: 13.36 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.001163/1.534, allocations: 287.1 kB / 0.9607 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.552, allocations: 9.676 MB / 0.9701 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/1.552, allocations: 0 / 0.9701 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.558, allocations: 3.129 MB / 0.9732 GB, free: 292 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/1.562, allocations: 0.6706 MB / 0.9739 GB, free: 15.63 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.593, allocations: 18.03 MB / 0.9915 GB, free: 13.39 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008278/1.601, allocations: 5.116 MB / 0.9965 GB, free: 8.238 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.008257/1.61, allocations: 3.253 MB / 0.9996 GB, free: 4.977 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.611, allocations: 387.4 kB / 1 GB, free: 4.598 MB / 0.7013 GB Notification: Performance of SimCode: time 1.463e-06/1.611, allocations: 1.422 kB / 1 GB, free: 4.598 MB / 0.7013 GB Notification: Performance of Templates: time 0.3342/1.945, allocations: 70.77 MB / 1.069 GB, free: 224.2 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.549972214008449] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.9546007120079594 1.963378534 1.5390077580000001 Calling exit ...