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.001272/0.001272, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002093/0.003365, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001291/0.001291, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003144, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.8678/0.8678, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1473/1.015, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1326/0.1326, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02077/0.1534, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.433e-06/1.433e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.329e-05, allocations: 10.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01662/0.01664, allocations: 16.88 MB / 284.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1631/0.1797, allocations: 5.778 MB / 290 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.182, allocations: 130.5 kB / 290.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.1877, allocations: 4.688 MB / 294.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.196, allocations: 3.213 MB / 298.1 MB, free: 348 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.1993, allocations: 1.559 MB / 299.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01039/0.2097, allocations: 9.339 MB / 309 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007036/0.2167, allocations: 5.649 MB / 314.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009358/0.2261, allocations: 5.212 MB / 319.8 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007025/0.2331, allocations: 4.676 MB / 324.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.2352, allocations: 0.668 MB / 325.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.2388, allocations: 1.873 MB / 327 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.242, allocations: 3.581 MB / 330.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.2454, allocations: 2.014 MB / 332.6 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009977/0.2553, allocations: 8.128 MB / 340.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.2553, allocations: 0 / 340.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2553, allocations: 0 / 340.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004013/0.2557, allocations: 0 / 340.8 MB, free: 13.19 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.01339/0.2691, allocations: 9.967 MB / 350.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2692, allocations: 8.031 kB / 350.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/0.2761, allocations: 2.284 MB / 353 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/0.2821, allocations: 3.681 MB / 356.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.2824, allocations: 428.7 kB / 357.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.2834, allocations: 0.6048 MB / 357.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.296, allocations: 9.568 MB / 367.3 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/0.2962, allocations: 75.38 kB / 367.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000625/0.2968, allocations: 274.6 kB / 367.6 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002991/0.2998, allocations: 3.16 MB / 370.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.3117, allocations: 5.253 MB / 376.1 MB, free: 9.5 MB / 362.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.05262/0.3643, allocations: 56.03 MB / 432.1 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/0.3719, allocations: 3.409 MB / 435.5 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3733, allocations: 0.9156 MB / 436.4 MB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.3867, allocations: 8.801 MB / 445.2 MB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.3867, allocations: 64.58 kB / 445.3 MB, free: 2.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 6.602e-06/0.3867, allocations: 0 / 445.3 MB, free: 2.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.175/0.5617, allocations: 15.25 MB / 460.5 MB, free: 131.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5617, allocations: 166.2 kB / 460.7 MB, free: 131.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004591/0.5663, allocations: 5.106 MB / 465.8 MB, free: 130.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.5666, allocations: 86.19 kB / 465.9 MB, free: 130.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.5681, allocations: 5.231 MB / 471.1 MB, free: 127.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009146/0.569, allocations: 1.599 MB / 472.7 MB, free: 126.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.5706, allocations: 1.987 MB / 474.7 MB, free: 126.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.991e-05/0.5706, allocations: 308.3 kB / 475 MB, free: 125.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.5729, allocations: 1.55 MB / 476.5 MB, free: 125.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003595/0.5765, allocations: 7.295 MB / 483.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007225/0.5837, allocations: 10.42 MB / 494.3 MB, free: 107.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.5838, allocations: 60 kB / 494.3 MB, free: 107.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01043/0.5942, allocations: 8.112 MB / 0.4907 GB, free: 99.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.5943, allocations: 92 kB / 0.4907 GB, free: 99.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/0.5945, allocations: 220.1 kB / 0.491 GB, free: 99.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.5979, allocations: 1.473 MB / 0.4924 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004502/0.6024, allocations: 2.617 MB / 0.495 GB, free: 95.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.6085, allocations: 4.699 MB / 0.4995 GB, free: 90.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006445/0.6149, allocations: 431.8 kB / 0.5 GB, free: 89.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/0.6163, allocations: 0.5078 MB / 0.5004 GB, free: 89.46 MB / 426.7 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.003829/0.6201, allocations: 0.9597 MB / 0.5014 GB, free: 88.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/0.6214, allocations: 425.7 kB / 0.5018 GB, free: 88.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.6267, allocations: 3.266 MB / 0.505 GB, free: 84.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.951e-05/0.6268, allocations: 55.98 kB / 0.505 GB, free: 84.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.6268, allocations: 8 kB / 0.505 GB, free: 84.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.6268, allocations: 19.92 kB / 0.5051 GB, free: 84.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.6417, allocations: 10.23 MB / 0.5151 GB, free: 74.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.6417, allocations: 20 kB / 0.5151 GB, free: 74.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.6434, allocations: 0.652 MB / 0.5157 GB, free: 73.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.6452, allocations: 0.8668 MB / 0.5166 GB, free: 72.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/0.6486, allocations: 1.335 MB / 0.5179 GB, free: 71.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003822/0.649, allocations: 83.98 kB / 0.5179 GB, free: 71.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.6536, allocations: 3.345 MB / 0.5212 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/0.6536, allocations: 27.81 kB / 0.5212 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007253/0.6608, allocations: 4.705 MB / 0.5258 GB, free: 62.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/0.6624, allocations: 76 kB / 0.5259 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/0.6645, allocations: 87.97 kB / 0.526 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/0.665, allocations: 289.3 kB / 0.5263 GB, free: 62.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/0.6652, allocations: 91.98 kB / 0.5263 GB, free: 62.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.6672, allocations: 1.917 MB / 0.5282 GB, free: 60.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6672, allocations: 3.719 kB / 0.5282 GB, free: 60.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005765/0.6729, allocations: 2.168 MB / 0.5303 GB, free: 58 MB / 426.7 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.0006206/0.6735, allocations: 307.4 kB / 0.5306 GB, free: 57.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005975/0.6795, allocations: 5.079 MB / 0.5356 GB, free: 52.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003063/0.6798, allocations: 171.2 kB / 0.5358 GB, free: 52.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003238/0.6831, allocations: 2.358 MB / 0.5381 GB, free: 50.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.6871, allocations: 4.787 MB / 0.5427 GB, free: 44.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.7089, allocations: 14.72 MB / 0.5571 GB, free: 29.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002851/0.7118, allocations: 2.327 MB / 0.5594 GB, free: 27.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003454/0.7152, allocations: 0.8587 MB / 0.5602 GB, free: 26.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.7169, allocations: 0.9034 MB / 0.5611 GB, free: 25.56 MB / 426.7 MB Notification: Performance of SimCode: time 2.524e-06/0.7169, allocations: 0 / 0.5611 GB, free: 25.56 MB / 426.7 MB Notification: Performance of Templates: time 0.2312/0.9481, allocations: 71.79 MB / 0.6312 GB, free: 116.8 MB / 442.7 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 -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.454997915774584]