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.001459/0.001459, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001601/0.001601, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.626/1.626, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2444/0.2444, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.002051/0.002051, allocations: 75.88 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1549, allocations: 65.99 MB / 0.5558 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02161/0.1765, allocations: 17.71 MB / 0.5731 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.191, allocations: 5.718 MB / 0.5787 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004586/0.1956, allocations: 131.4 kB / 0.5788 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.206, allocations: 4.629 MB / 0.5834 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009149/0.2152, allocations: 3.054 MB / 0.5864 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.2192, allocations: 1.501 MB / 0.5878 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3544/0.5736, allocations: 8.936 MB / 0.5965 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.5847, allocations: 5.476 MB / 0.6019 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008271/0.593, allocations: 3.056 MB / 0.6049 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009457/0.6024, allocations: 4.616 MB / 0.6094 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004013/0.6064, allocations: 0.6624 MB / 0.61 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00758/0.614, allocations: 1.882 MB / 0.6119 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008346/0.6224, allocations: 3.786 MB / 0.6156 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01142/0.6338, allocations: 4.178 MB / 0.6196 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02487/0.6586, allocations: 13.56 MB / 0.6329 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6587, allocations: 0 / 0.6329 GB, free: 10.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6587, allocations: 0 / 0.6329 GB, free: 10.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006339/0.6593, allocations: 0 / 0.6329 GB, free: 10.05 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.03383/0.6931, allocations: 9.202 MB / 0.6419 GB, free: 3.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6932, allocations: 8.031 kB / 0.6419 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02153/0.7147, allocations: 4.153 MB / 0.6459 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.7309, allocations: 5.088 MB / 0.6509 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006021/0.7315, allocations: 438.9 kB / 0.6513 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003633/0.7351, allocations: 0.6044 MB / 0.6519 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05299/0.7881, allocations: 20.62 MB / 0.672 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005254/0.7886, allocations: 77.09 kB / 0.6721 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003267/0.7919, allocations: 274.2 kB / 0.6724 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007471/0.7994, allocations: 3.717 MB / 0.676 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04713/0.8465, allocations: 18.21 MB / 0.6938 GB, free: 14.54 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.1348/0.9813, allocations: 74.41 MB / 0.7665 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/1.003, allocations: 7.178 MB / 0.7735 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007271/1.01, allocations: 3.819 MB / 0.7772 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04313/1.053, allocations: 18.31 MB / 0.7951 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.516e-05/1.053, allocations: 68.53 kB / 0.7951 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=335): time 8.136e-06/1.053, allocations: 7.938 kB / 0.7952 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=419): time 0.1377/1.191, allocations: 35.06 MB / 0.8294 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.191, allocations: 192.9 kB / 0.8296 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3847/1.576, allocations: 6.483 MB / 0.8359 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.577, allocations: 84.48 kB / 0.836 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004902/1.582, allocations: 5.585 MB / 0.8414 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.584, allocations: 1.616 MB / 0.843 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00436/1.588, allocations: 2.146 MB / 0.8451 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/1.589, allocations: 301.9 kB / 0.8454 GB, free: 206 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008703/1.597, allocations: 4.34 MB / 0.8496 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/1.61, allocations: 10.28 MB / 0.8597 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02302/1.633, allocations: 15.68 MB / 0.875 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005114/1.634, allocations: 62.16 kB / 0.8751 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03831/1.672, allocations: 16.36 MB / 0.891 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/1.673, allocations: 97 kB / 0.8911 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006307/1.673, allocations: 211.5 kB / 0.8913 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008558/1.682, allocations: 2.364 MB / 0.8936 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009411/1.691, allocations: 2.462 MB / 0.896 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.711, allocations: 12.76 MB / 0.9085 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/1.721, allocations: 0.5917 MB / 0.9091 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/1.723, allocations: 0.5989 MB / 0.9097 GB, free: 162 MB / 0.6387 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.00807/1.731, allocations: 3.769 MB / 0.9133 GB, free: 158.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/1.733, allocations: 0.617 MB / 0.9139 GB, free: 158.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/1.752, allocations: 8.3 MB / 0.9221 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.389e-05/1.752, allocations: 66.11 kB / 0.9221 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/1.752, allocations: 15.25 kB / 0.9221 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-05/1.752, allocations: 23.86 kB / 0.9222 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04445/1.796, allocations: 18.81 MB / 0.9405 GB, free: 130.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.724e-05/1.797, allocations: 12 kB / 0.9405 GB, free: 130.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003294/1.8, allocations: 0.624 MB / 0.9411 GB, free: 130.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006589/1.806, allocations: 1.801 MB / 0.9429 GB, free: 128.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009959/1.807, allocations: 85.16 kB / 0.943 GB, free: 128.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/1.823, allocations: 10.84 MB / 0.9536 GB, free: 117.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/1.823, allocations: 16.12 kB / 0.9536 GB, free: 117.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/1.845, allocations: 12.49 MB / 0.9658 GB, free: 104.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.847, allocations: 0.654 MB / 0.9664 GB, free: 103.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002265/1.849, allocations: 79.98 kB / 0.9665 GB, free: 103.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004346/1.854, allocations: 209.2 kB / 0.9667 GB, free: 103.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/1.855, allocations: 269.6 kB / 0.967 GB, free: 103.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007184/1.856, allocations: 105.3 kB / 0.9671 GB, free: 103.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.008529/1.864, allocations: 4.028 MB / 0.971 GB, free: 99.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/1.864, allocations: 0 / 0.971 GB, free: 99.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01118/1.875, allocations: 1.924 MB / 0.9729 GB, free: 97.19 MB / 0.6387 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.001312/1.877, allocations: 288.2 kB / 0.9731 GB, free: 96.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01646/1.893, allocations: 9.689 MB / 0.9826 GB, free: 87.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.893, allocations: 0 / 0.9826 GB, free: 87.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005073/1.898, allocations: 3.119 MB / 0.9857 GB, free: 84.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007385/1.906, allocations: 0.809 MB / 0.9864 GB, free: 83.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/1.941, allocations: 17.9 MB / 1.004 GB, free: 65.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/1.951, allocations: 5.584 MB / 1.009 GB, free: 59.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.008827/1.96, allocations: 3.308 MB / 1.013 GB, free: 56.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.962, allocations: 419.3 kB / 1.013 GB, free: 55.84 MB / 0.6387 GB Notification: Performance of SimCode: time 1.353e-06/1.962, allocations: 3.938 kB / 1.013 GB, free: 55.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.4394/2.402, allocations: 70.36 MB / 1.082 GB, free: 203.6 MB / 0.6544 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 -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.934663765132427] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.4112599045038223 2.423831975 1.7621604419999999 Calling exit ...