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.001045/0.001045, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001054/0.001054, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.8964/0.8964, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1362/0.1362, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 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 1.693e-06/1.693e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.852e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.009835/0.009854, allocations: 16.54 MB / 395.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.01718, allocations: 5.552 MB / 401.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.01842, allocations: 131.4 kB / 401.5 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.02251, allocations: 4.843 MB / 406.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.02652, allocations: 3.2 MB / 409.5 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.02849, allocations: 1.7 MB / 411.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007232/0.03572, allocations: 10.32 MB / 421.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005196/0.04092, allocations: 6.45 MB / 428 MB, free: 6.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005216/0.04613, allocations: 5.306 MB / 433.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.05052, allocations: 4.891 MB / 438.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009366/0.05145, allocations: 0.668 MB / 438.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.05359, allocations: 1.822 MB / 440.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.05589, allocations: 3.97 MB / 444.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.05869, allocations: 2.461 MB / 447.1 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.06591, allocations: 8.7 MB / 455.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.06591, allocations: 3.938 kB / 455.8 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.06591, allocations: 4 kB / 455.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.06603, allocations: 4 kB / 455.8 MB, free: 10.55 MB / 378.7 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.01002/0.07606, allocations: 9.233 MB / 465.1 MB, free: 1.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.07609, allocations: 8.031 kB / 465.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007553/0.08364, allocations: 3.274 MB / 468.4 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.0882, allocations: 3.869 MB / 472.2 MB, free: 9.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.08841, allocations: 430.7 kB / 472.6 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007557/0.08916, allocations: 0.601 MB / 473.2 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.102, allocations: 10.66 MB / 483.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.1022, allocations: 75.33 kB / 484 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/0.1027, allocations: 267.7 kB / 484.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003135/0.1058, allocations: 3.351 MB / 487.6 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.1165, allocations: 5.405 MB / 493 MB, free: 3.609 MB / 410.7 MB 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.3097/0.4262, allocations: 76.62 MB / 0.5563 GB, free: 41.82 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.433, allocations: 3.493 MB / 0.5597 GB, free: 38.34 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.4341, allocations: 1.132 MB / 0.5608 GB, free: 37.19 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.4441, allocations: 9.485 MB / 0.57 GB, free: 27.91 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.4442, allocations: 67.41 kB / 0.5701 GB, free: 27.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 5.36e-06/0.4442, allocations: 0 / 0.5701 GB, free: 27.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.03576/0.4799, allocations: 16.8 MB / 0.5865 GB, free: 11.61 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.48, allocations: 192.9 kB / 0.5867 GB, free: 11.38 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.4835, allocations: 5.598 MB / 0.5922 GB, free: 6.047 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.4836, allocations: 81.7 kB / 0.5922 GB, free: 5.961 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.4853, allocations: 5.879 MB / 0.598 GB, free: 284 kB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.4863, allocations: 1.663 MB / 0.5996 GB, free: 14.6 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/0.4884, allocations: 2.29 MB / 0.6018 GB, free: 12.3 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4885, allocations: 484.7 kB / 0.6023 GB, free: 11.82 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.4904, allocations: 1.298 MB / 0.6036 GB, free: 10.52 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00645/0.4968, allocations: 10.17 MB / 0.6135 GB, free: 12.38 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009101/0.5059, allocations: 12.46 MB / 0.6257 GB, free: 11.97 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.717e-05/0.506, allocations: 64 kB / 0.6257 GB, free: 11.91 MB / 458.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01315/0.5192, allocations: 9.487 MB / 0.635 GB, free: 2.398 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.5192, allocations: 99.94 kB / 0.6351 GB, free: 2.301 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.5194, allocations: 208 kB / 0.6353 GB, free: 2.098 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00373/0.5231, allocations: 1.479 MB / 0.6367 GB, free: 0.6133 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.527, allocations: 2.328 MB / 0.639 GB, free: 14.28 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/0.5342, allocations: 5.511 MB / 0.6444 GB, free: 8.656 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.5383, allocations: 435.7 kB / 0.6448 GB, free: 8.23 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/0.5388, allocations: 0.5156 MB / 0.6453 GB, free: 7.715 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 945 * 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 (1314): * Single equations (assignments): 1307 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.5408, allocations: 1 MB / 0.6463 GB, free: 6.699 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008625/0.5417, allocations: 0.6875 MB / 0.647 GB, free: 6.008 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/0.548, allocations: 3.741 MB / 0.6506 GB, free: 2.219 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/0.5481, allocations: 60 kB / 0.6507 GB, free: 2.16 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5481, allocations: 8 kB / 0.6507 GB, free: 2.152 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.5481, allocations: 23.92 kB / 0.6507 GB, free: 2.129 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.5652, allocations: 11.92 MB / 0.6623 GB, free: 5.805 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.5652, allocations: 19.98 kB / 0.6624 GB, free: 5.785 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.5666, allocations: 0.5501 MB / 0.6629 GB, free: 5.234 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0031/0.5697, allocations: 1.072 MB / 0.6639 GB, free: 4.156 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.5699, allocations: 83.98 kB / 0.664 GB, free: 4.074 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1687/0.7385, allocations: 4.071 MB / 0.668 GB, free: 157.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-05/0.7385, allocations: 25.89 kB / 0.668 GB, free: 157.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/0.7468, allocations: 5.423 MB / 0.6733 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/0.7488, allocations: 0.5555 MB / 0.6739 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/0.7498, allocations: 84.08 kB / 0.6739 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.7514, allocations: 81.02 kB / 0.674 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.7519, allocations: 293.1 kB / 0.6743 GB, free: 156 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.752, allocations: 98.5 kB / 0.6744 GB, free: 156 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002682/0.7547, allocations: 2.232 MB / 0.6766 GB, free: 155.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7547, allocations: 3.531 kB / 0.6766 GB, free: 155.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006233/0.7609, allocations: 2.115 MB / 0.6786 GB, free: 155.8 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (336): * Single equations (assignments): 329 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005914/0.7615, allocations: 315.5 kB / 0.6789 GB, free: 155.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0085/0.77, allocations: 5.406 MB / 0.6842 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.77, allocations: 7.625 kB / 0.6842 GB, free: 155.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.7724, allocations: 1.61 MB / 0.6858 GB, free: 154.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.776, allocations: 0.7378 MB / 0.6865 GB, free: 154.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.7942, allocations: 14.58 MB / 0.7008 GB, free: 144.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.7965, allocations: 2.341 MB / 0.703 GB, free: 143.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002768/0.7993, allocations: 0.8643 MB / 0.7039 GB, free: 143.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/0.8008, allocations: 0.9811 MB / 0.7048 GB, free: 142.3 MB / 490.8 MB Notification: Performance of SimCode: time 1.653e-06/0.8008, allocations: 0 / 0.7048 GB, free: 142.3 MB / 490.8 MB Notification: Performance of Templates: time 0.08945/0.8903, allocations: 73.01 MB / 0.7761 GB, free: 72.07 MB / 490.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.48350237403065]