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.0009505/0.0009505, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009807/0.0009807, allocations: 170.9 kB / 24.91 MB, free: 9.152 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.9252/0.9252, allocations: 177.1 MB / 205.3 MB, free: 5.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.2722/0.2722, allocations: 34.25 MB / 296.1 MB, free: 0.7266 MB / 266.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.913e-06/1.913e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.936e-05, allocations: 4.281 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01793/0.01796, allocations: 16.55 MB / 341.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.03241, allocations: 5.798 MB / 347.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.0362, allocations: 131.4 kB / 347.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006754/0.04295, allocations: 4.905 MB / 352.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007312/0.05026, allocations: 3.208 MB / 355.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.05338, allocations: 1.704 MB / 357.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01077/0.06415, allocations: 10.31 MB / 367.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009564/0.07372, allocations: 6.576 MB / 374.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.08466, allocations: 5.29 MB / 379.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.09131, allocations: 4.681 MB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.0934, allocations: 0.6641 MB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/0.09738, allocations: 1.81 MB / 386.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004523/0.1019, allocations: 3.962 MB / 390.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00532/0.1072, allocations: 2.465 MB / 393.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.1176, allocations: 8.711 MB / 402 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1176, allocations: 0 / 402 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1176, allocations: 0 / 402 MB, free: 10.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003837/0.118, allocations: 0 / 402 MB, free: 10.63 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.01227/0.1303, allocations: 8.267 MB / 410.3 MB, free: 2.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1303, allocations: 8.031 kB / 410.3 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005993/0.1363, allocations: 2.295 MB / 412.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006474/0.1428, allocations: 3.61 MB / 416.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.1431, allocations: 427.3 kB / 416.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.1443, allocations: 0.6088 MB / 417.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.163, allocations: 9.569 MB / 426.8 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.1632, allocations: 71.39 kB / 426.8 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/0.164, allocations: 275.7 kB / 427.1 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00437/0.1684, allocations: 3.343 MB / 430.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.1841, allocations: 5.265 MB / 435.7 MB, free: 7.531 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.35/0.5341, allocations: 55.95 MB / 491.7 MB, free: 47.71 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009982/0.5441, allocations: 3.487 MB / 495.2 MB, free: 47.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.5461, allocations: 0.9206 MB / 496.1 MB, free: 47 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.5617, allocations: 8.844 MB / 0.4931 GB, free: 39.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.5618, allocations: 69.97 kB / 0.4932 GB, free: 39.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 7.865e-06/0.5618, allocations: 0 / 0.4932 GB, free: 39.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.04429/0.6061, allocations: 15.11 MB / 0.5079 GB, free: 25.73 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.6061, allocations: 196.3 kB / 0.5081 GB, free: 25.51 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.6096, allocations: 5.05 MB / 0.513 GB, free: 21.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.6098, allocations: 85.7 kB / 0.5131 GB, free: 21.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.6112, allocations: 5.23 MB / 0.5182 GB, free: 16.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007053/0.6119, allocations: 1.595 MB / 0.5198 GB, free: 15.15 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.6134, allocations: 1.991 MB / 0.5217 GB, free: 13.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.446e-05/0.6134, allocations: 305.1 kB / 0.522 GB, free: 13.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.6155, allocations: 1.548 MB / 0.5235 GB, free: 11.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003465/0.6189, allocations: 7.294 MB / 0.5307 GB, free: 1.754 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/0.6275, allocations: 9.732 MB / 0.5402 GB, free: 6.168 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002578/0.6277, allocations: 62.19 kB / 0.5402 GB, free: 6.109 MB / 426.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01537/0.6431, allocations: 8.1 MB / 0.5481 GB, free: 14.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6432, allocations: 92 kB / 0.5482 GB, free: 14.21 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/0.6435, allocations: 208.1 kB / 0.5484 GB, free: 14 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/0.6472, allocations: 1.465 MB / 0.5498 GB, free: 12.54 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/0.6524, allocations: 2.332 MB / 0.5521 GB, free: 10.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.6592, allocations: 4.682 MB / 0.5567 GB, free: 5.496 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/0.6653, allocations: 434.8 kB / 0.5571 GB, free: 5.074 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/0.6665, allocations: 0.5117 MB / 0.5576 GB, free: 4.562 MB / 442.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.003141/0.6697, allocations: 0.9469 MB / 0.5585 GB, free: 3.602 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/0.6709, allocations: 433.8 kB / 0.5589 GB, free: 3.18 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.6764, allocations: 3.257 MB / 0.5621 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-05/0.6765, allocations: 63.92 kB / 0.5622 GB, free: 15.82 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.6765, allocations: 12 kB / 0.5622 GB, free: 15.81 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.6765, allocations: 19.94 kB / 0.5622 GB, free: 15.79 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.6966, allocations: 10.2 MB / 0.5722 GB, free: 6.355 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/0.6966, allocations: 12 kB / 0.5722 GB, free: 6.344 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6982, allocations: 0.5547 MB / 0.5727 GB, free: 5.789 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/0.702, allocations: 1.317 MB / 0.574 GB, free: 4.469 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/0.7024, allocations: 82.02 kB / 0.5741 GB, free: 4.391 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.7073, allocations: 3.344 MB / 0.5774 GB, free: 0.9961 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.7073, allocations: 23.88 kB / 0.5774 GB, free: 0.9727 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/0.7145, allocations: 4.673 MB / 0.5819 GB, free: 11.99 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.7161, allocations: 0.5403 MB / 0.5825 GB, free: 11.45 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009085/0.717, allocations: 88.8 kB / 0.5826 GB, free: 11.37 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.7185, allocations: 87.5 kB / 0.5826 GB, free: 11.29 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/0.719, allocations: 277.4 kB / 0.5829 GB, free: 11.01 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.7191, allocations: 91.98 kB / 0.583 GB, free: 10.92 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002563/0.7217, allocations: 1.897 MB / 0.5848 GB, free: 9.281 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7217, allocations: 0 / 0.5848 GB, free: 9.281 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007132/0.7288, allocations: 2.113 MB / 0.5869 GB, free: 7.168 MB / 474.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.0007745/0.7296, allocations: 302.8 kB / 0.5872 GB, free: 6.875 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007343/0.7369, allocations: 4.887 MB / 0.592 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003858/0.7373, allocations: 128.2 kB / 0.5921 GB, free: 1.984 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.7394, allocations: 1.374 MB / 0.5934 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/0.7437, allocations: 1.165 MB / 0.5946 GB, free: 15.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.7654, allocations: 14.31 MB / 0.6085 GB, free: 0.9453 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1582/0.9236, allocations: 2.321 MB / 0.6108 GB, free: 147.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003356/0.9269, allocations: 0.8618 MB / 0.6117 GB, free: 147.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.9286, allocations: 0.923 MB / 0.6126 GB, free: 147 MB / 490.8 MB Notification: Performance of SimCode: time 1.673e-06/0.9286, allocations: 0 / 0.6126 GB, free: 147 MB / 490.8 MB Notification: Performance of Templates: time 0.08811/1.017, allocations: 71.21 MB / 0.6821 GB, free: 98.12 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.231161722913384]