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.002498/0.002498, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002451/0.002451, allocations: 208.2 kB / 23.73 MB, free: 4.379 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2465/0.2465, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002143/0.002143, allocations: 63.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3596, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02053/0.3801, allocations: 15.31 MB / 0.576 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3943, allocations: 5.453 MB / 0.5814 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0036/0.3979, allocations: 123.4 kB / 0.5815 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009935/0.4078, allocations: 4.474 MB / 0.5858 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4179, allocations: 3.085 MB / 0.5889 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.4224, allocations: 1.498 MB / 0.5903 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.4369, allocations: 8.955 MB / 0.5991 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.447, allocations: 5.243 MB / 0.6042 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007028/0.454, allocations: 3.057 MB / 0.6072 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008228/0.4622, allocations: 4.615 MB / 0.6117 GB, free: 108 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003099/0.4653, allocations: 0.6641 MB / 0.6123 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007621/0.473, allocations: 1.748 MB / 0.614 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006971/0.4799, allocations: 3.79 MB / 0.6177 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.4901, allocations: 3.118 MB / 0.6208 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02381/0.5139, allocations: 13.62 MB / 0.6341 GB, free: 9.078 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5139, allocations: 0 / 0.6341 GB, free: 9.078 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5139, allocations: 0 / 0.6341 GB, free: 9.078 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006217/0.5145, allocations: 0 / 0.6341 GB, free: 9.078 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.02931/0.5439, allocations: 9.127 MB / 0.643 GB, free: 15.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5439, allocations: 8.031 kB / 0.643 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/0.5629, allocations: 4.157 MB / 0.6471 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.578, allocations: 5.025 MB / 0.652 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005809/0.5786, allocations: 434.9 kB / 0.6524 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003274/0.5819, allocations: 0.6011 MB / 0.653 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/0.6322, allocations: 20.71 MB / 0.6732 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002841/0.6325, allocations: 75.34 kB / 0.6733 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/0.6339, allocations: 271.7 kB / 0.6735 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006432/0.6404, allocations: 3.718 MB / 0.6772 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04394/0.6843, allocations: 18.2 MB / 0.6949 GB, free: 9.402 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.752/1.436, allocations: 69.1 MB / 0.7624 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02478/1.461, allocations: 6.246 MB / 0.7685 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007791/1.469, allocations: 3.826 MB / 0.7722 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04281/1.512, allocations: 14.73 MB / 0.7866 GB, free: 97.07 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/1.512, allocations: 67.78 kB / 0.7867 GB, free: 97 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 1.088e-05/1.512, allocations: 0 / 0.7867 GB, free: 97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1115/1.623, allocations: 34.65 MB / 0.8205 GB, free: 62.96 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.623, allocations: 196.5 kB / 0.8207 GB, free: 62.74 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00831/1.632, allocations: 6.195 MB / 0.8268 GB, free: 56.81 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008286/1.632, allocations: 81.7 kB / 0.8268 GB, free: 56.73 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002532/1.635, allocations: 5.615 MB / 0.8323 GB, free: 51.35 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.637, allocations: 1.618 MB / 0.8339 GB, free: 49.75 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/1.639, allocations: 2.139 MB / 0.836 GB, free: 47.61 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/1.639, allocations: 305.1 kB / 0.8363 GB, free: 47.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/1.644, allocations: 4.327 MB / 0.8405 GB, free: 42.97 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/1.652, allocations: 10.29 MB / 0.8506 GB, free: 29.87 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.667, allocations: 15.67 MB / 0.8659 GB, free: 11.34 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/1.667, allocations: 60 kB / 0.8659 GB, free: 11.28 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03193/1.699, allocations: 16.28 MB / 0.8818 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/1.699, allocations: 95.94 kB / 0.8819 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003432/1.7, allocations: 211.8 kB / 0.8821 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008703/1.708, allocations: 2.365 MB / 0.8844 GB, free: 8.305 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009591/1.718, allocations: 2.46 MB / 0.8868 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/1.74, allocations: 12.44 MB / 0.899 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009558/1.75, allocations: 0.5932 MB / 0.8996 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003492/1.753, allocations: 0.6014 MB / 0.9001 GB, free: 8.102 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.009996/1.763, allocations: 3.769 MB / 0.9038 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/1.765, allocations: 0.5704 MB / 0.9044 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.783, allocations: 8.254 MB / 0.9124 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/1.783, allocations: 67.92 kB / 0.9125 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.704e-05/1.783, allocations: 12 kB / 0.9125 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.546e-05/1.783, allocations: 15.94 kB / 0.9125 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04168/1.825, allocations: 16.08 MB / 0.9282 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/1.825, allocations: 12 kB / 0.9282 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/1.828, allocations: 0.6279 MB / 0.9289 GB, free: 10.43 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007262/1.836, allocations: 1.804 MB / 0.9306 GB, free: 8.625 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008067/1.837, allocations: 87.92 kB / 0.9307 GB, free: 8.539 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/1.856, allocations: 10.54 MB / 0.941 GB, free: 13.91 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.22e-05/1.856, allocations: 27.94 kB / 0.941 GB, free: 13.88 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02622/1.883, allocations: 12.43 MB / 0.9532 GB, free: 1.176 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.885, allocations: 0.5195 MB / 0.9537 GB, free: 0.6523 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.886, allocations: 75.98 kB / 0.9537 GB, free: 0.5781 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.889, allocations: 207.7 kB / 0.9539 GB, free: 388 kB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007953/1.889, allocations: 285.5 kB / 0.9542 GB, free: 100 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/1.89, allocations: 108 kB / 0.9543 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006681/1.896, allocations: 3.575 MB / 0.9578 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.896, allocations: 3.938 kB / 0.9578 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009337/1.906, allocations: 1.91 MB / 0.9597 GB, free: 10.54 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.0008974/1.907, allocations: 276.8 kB / 0.9599 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02051/1.927, allocations: 9.678 MB / 0.9694 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.759e-05/1.927, allocations: 4 kB / 0.9694 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008477/1.936, allocations: 3.122 MB / 0.9724 GB, free: 13.44 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007694/1.943, allocations: 0.6822 MB / 0.9731 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3236/2.267, allocations: 18.02 MB / 0.9907 GB, free: 236.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006839/2.274, allocations: 5.111 MB / 0.9957 GB, free: 235.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006588/2.28, allocations: 3.259 MB / 0.9989 GB, free: 235.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/2.282, allocations: 390.5 kB / 0.9993 GB, free: 235.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.353e-06/2.282, allocations: 0 / 0.9993 GB, free: 235.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1052/2.387, allocations: 70.76 MB / 1.068 GB, free: 177.3 MB / 0.67 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.838547306135297] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.3975891838781536 2.410522189 1.892755574 Calling exit ...