Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008756/0.0008756, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00104/0.00104, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1409/0.1409, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.802e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.1613/0.1613, allocations: 16.71 MB / 315.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.175, allocations: 5.753 MB / 321.5 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.1792, allocations: 131.9 kB / 321.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006706/0.1859, allocations: 4.924 MB / 326.6 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008365/0.1943, allocations: 3.266 MB / 329.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.1978, allocations: 1.712 MB / 331.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.2104, allocations: 9.87 MB / 341.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009244/0.2197, allocations: 6.603 MB / 348 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.2305, allocations: 5.146 MB / 353.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.2378, allocations: 4.704 MB / 357.9 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.2403, allocations: 0.668 MB / 358.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.2451, allocations: 1.814 MB / 360.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005763/0.2509, allocations: 4.025 MB / 364.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006397/0.2573, allocations: 2.504 MB / 366.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.2716, allocations: 8.804 MB / 375.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2716, allocations: 7.938 kB / 375.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2716, allocations: 0 / 375.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003589/0.2719, allocations: 0 / 375.7 MB, free: 1.379 MB / 330.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.01754/0.2895, allocations: 8.302 MB / 384 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2895, allocations: 12.03 kB / 384 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008541/0.2981, allocations: 2.295 MB / 386.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007356/0.3054, allocations: 3.685 MB / 390 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.3058, allocations: 431.5 kB / 390.4 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.3076, allocations: 0.6011 MB / 391 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.3346, allocations: 9.573 MB / 400.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002549/0.3349, allocations: 67.41 kB / 400.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/0.3359, allocations: 275.7 kB / 400.9 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.339, allocations: 3.344 MB / 404.3 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.3511, allocations: 5.261 MB / 409.5 MB, free: 14.21 MB / 378.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.3597/0.7108, allocations: 56 MB / 465.5 MB, free: 79.29 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009695/0.7205, allocations: 3.481 MB / 469 MB, free: 79.04 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.7221, allocations: 0.9184 MB / 469.9 MB, free: 78.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.7355, allocations: 8.848 MB / 478.8 MB, free: 78.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.7356, allocations: 72.58 kB / 478.8 MB, free: 78.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 6.091e-06/0.7356, allocations: 3.812 kB / 478.8 MB, free: 78.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.03394/0.7695, allocations: 15.18 MB / 494 MB, free: 75.45 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.7696, allocations: 196.7 kB / 494.2 MB, free: 75.22 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/0.7738, allocations: 5.103 MB / 499.3 MB, free: 71.51 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.774, allocations: 89.7 kB / 499.4 MB, free: 71.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.7755, allocations: 5.237 MB / 0.4928 GB, free: 66.24 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/0.7762, allocations: 1.596 MB / 0.4944 GB, free: 64.63 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.7778, allocations: 1.987 MB / 0.4963 GB, free: 62.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.7778, allocations: 305.1 kB / 0.4966 GB, free: 62.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.7799, allocations: 1.544 MB / 0.4981 GB, free: 60.79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.7836, allocations: 7.292 MB / 0.5052 GB, free: 50.71 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/0.7899, allocations: 9.731 MB / 0.5147 GB, free: 38.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.536e-05/0.79, allocations: 60 kB / 0.5148 GB, free: 38.62 MB / 410.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.009608/0.7996, allocations: 8.106 MB / 0.5227 GB, free: 30.46 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.7996, allocations: 96 kB / 0.5228 GB, free: 30.37 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.7998, allocations: 208 kB / 0.523 GB, free: 30.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.803, allocations: 1.459 MB / 0.5244 GB, free: 28.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/0.8066, allocations: 2.332 MB / 0.5267 GB, free: 26.37 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.8123, allocations: 4.68 MB / 0.5313 GB, free: 21.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/0.8164, allocations: 427.7 kB / 0.5317 GB, free: 21.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/0.8169, allocations: 0.5195 MB / 0.5322 GB, free: 20.66 MB / 410.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.002258/0.8192, allocations: 0.9535 MB / 0.5331 GB, free: 19.69 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006978/0.8198, allocations: 431.5 kB / 0.5335 GB, free: 19.27 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.8246, allocations: 3.272 MB / 0.5367 GB, free: 15.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.2e-05/0.8247, allocations: 60 kB / 0.5368 GB, free: 15.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.8247, allocations: 8 kB / 0.5368 GB, free: 15.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.8247, allocations: 19.92 kB / 0.5368 GB, free: 15.87 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8391, allocations: 10.22 MB / 0.5468 GB, free: 5.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.8391, allocations: 24.02 kB / 0.5468 GB, free: 5.258 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.8404, allocations: 0.5499 MB / 0.5473 GB, free: 4.707 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.8433, allocations: 1.327 MB / 0.5486 GB, free: 3.375 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.8435, allocations: 79.98 kB / 0.5487 GB, free: 3.297 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.8477, allocations: 3.337 MB / 0.552 GB, free: 15.86 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.8477, allocations: 27.88 kB / 0.552 GB, free: 15.83 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/0.8546, allocations: 4.684 MB / 0.5566 GB, free: 10.77 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.8561, allocations: 0.8629 MB / 0.5574 GB, free: 9.902 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/0.8566, allocations: 87.97 kB / 0.5575 GB, free: 9.816 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.8579, allocations: 83.98 kB / 0.5576 GB, free: 9.734 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.8583, allocations: 277.4 kB / 0.5578 GB, free: 9.461 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.8584, allocations: 91.98 kB / 0.5579 GB, free: 9.371 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001966/0.8604, allocations: 1.921 MB / 0.5598 GB, free: 7.477 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8604, allocations: 3.828 kB / 0.5598 GB, free: 7.477 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006549/0.867, allocations: 2.172 MB / 0.5619 GB, free: 5.305 MB / 426.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.0006035/0.8676, allocations: 299.3 kB / 0.5622 GB, free: 5.004 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006853/0.8744, allocations: 4.881 MB / 0.567 GB, free: 132 kB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002203/0.8746, allocations: 132.3 kB / 0.5671 GB, free: 15.98 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.8763, allocations: 1.37 MB / 0.5684 GB, free: 14.6 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.88, allocations: 1.177 MB / 0.5696 GB, free: 13.44 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.8974, allocations: 14.38 MB / 0.5836 GB, free: 14.75 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.8994, allocations: 2.335 MB / 0.5859 GB, free: 12.39 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002241/0.9016, allocations: 0.8744 MB / 0.5868 GB, free: 11.51 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.9032, allocations: 0.9151 MB / 0.5877 GB, free: 10.59 MB / 458.8 MB Notification: Performance of SimCode: time 1.483e-06/0.9032, allocations: 4 kB / 0.5877 GB, free: 10.59 MB / 458.8 MB Notification: Performance of Templates: time 0.2374/1.141, allocations: 72.36 MB / 0.6583 GB, free: 171.1 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.4958672798238695]