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.001212/0.001212, allocations: 76.06 kB / 20.72 MB, free: 3.766 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.001663/0.001663, allocations: 169 kB / 24.14 MB, free: 356 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 0.8819/0.8819, allocations: 158.6 MB / 186 MB, free: 2.727 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.1259/0.1259, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.623e-06/1.623e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.102e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.1427/0.1427, allocations: 16.74 MB / 315.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1545, allocations: 5.759 MB / 321.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.1575, allocations: 126.8 kB / 321.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004359/0.1619, allocations: 4.847 MB / 326.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.1666, allocations: 3.236 MB / 329.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1687, allocations: 1.688 MB / 331.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007714/0.1764, allocations: 9.875 MB / 341.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/0.182, allocations: 6.159 MB / 347.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.1872, allocations: 5.04 MB / 352.6 MB, free: 8.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005555/0.1928, allocations: 4.708 MB / 357.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009829/0.1938, allocations: 0.668 MB / 357.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.1962, allocations: 1.877 MB / 359.8 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002435/0.1987, allocations: 4.025 MB / 363.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.2006, allocations: 2.504 MB / 366.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.2075, allocations: 8.797 MB / 375.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2075, allocations: 0 / 375.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2075, allocations: 0 / 375.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.994e-05/0.2076, allocations: 0 / 375.1 MB, free: 1.895 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.00788/0.2155, allocations: 8.316 MB / 383.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2155, allocations: 8.031 kB / 383.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005422/0.2209, allocations: 2.295 MB / 385.8 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.2248, allocations: 3.69 MB / 389.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.225, allocations: 427.5 kB / 389.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000713/0.2257, allocations: 0.6019 MB / 390.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009869/0.2356, allocations: 9.565 MB / 400 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.2357, allocations: 75.38 kB / 400.1 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004372/0.2362, allocations: 276.7 kB / 400.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.2387, allocations: 3.347 MB / 403.7 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.2471, allocations: 5.261 MB / 409 MB, free: 14.71 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.197/0.4441, allocations: 55.99 MB / 465 MB, free: 80.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008006/0.4521, allocations: 3.483 MB / 468.5 MB, free: 80.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4533, allocations: 0.9179 MB / 469.4 MB, free: 80.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.4647, allocations: 8.862 MB / 478.2 MB, free: 79.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.4647, allocations: 69.27 kB / 478.3 MB, free: 79.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=334): time 4.969e-06/0.4647, allocations: 0 / 478.3 MB, free: 79.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=421): time 0.03355/0.4983, allocations: 15.17 MB / 493.5 MB, free: 77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4983, allocations: 199.8 kB / 493.7 MB, free: 76.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.502, allocations: 5.107 MB / 498.8 MB, free: 72.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.5022, allocations: 89.7 kB / 498.9 MB, free: 72.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.5037, allocations: 5.231 MB / 0.4923 GB, free: 67.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007331/0.5044, allocations: 1.6 MB / 0.4938 GB, free: 65.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.5059, allocations: 1.987 MB / 0.4958 GB, free: 63.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.5059, allocations: 305.1 kB / 0.4961 GB, free: 63.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.5082, allocations: 1.54 MB / 0.4976 GB, free: 62.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/0.5116, allocations: 7.297 MB / 0.5047 GB, free: 52.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.5172, allocations: 9.729 MB / 0.5142 GB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.104e-05/0.5172, allocations: 60 kB / 0.5143 GB, free: 39.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.00947/0.5267, allocations: 8.107 MB / 0.5222 GB, free: 31.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.5268, allocations: 96 kB / 0.5223 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.5269, allocations: 208 kB / 0.5225 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003354/0.5303, allocations: 1.458 MB / 0.5239 GB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/0.5342, allocations: 2.457 MB / 0.5263 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.5399, allocations: 4.68 MB / 0.5309 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.5436, allocations: 439.7 kB / 0.5313 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/0.5441, allocations: 0.5117 MB / 0.5318 GB, free: 21.89 MB / 410.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.001786/0.5459, allocations: 0.9573 MB / 0.5327 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.5464, allocations: 427.6 kB / 0.5331 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.5512, allocations: 3.264 MB / 0.5363 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.5513, allocations: 63.98 kB / 0.5364 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5513, allocations: 11.98 kB / 0.5364 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.5513, allocations: 21.03 kB / 0.5364 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.5638, allocations: 10.23 MB / 0.5464 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.5638, allocations: 19.98 kB / 0.5464 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.5653, allocations: 0.6129 MB / 0.547 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.5684, allocations: 1.313 MB / 0.5483 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.5685, allocations: 83.97 kB / 0.5484 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.5727, allocations: 3.345 MB / 0.5516 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.5727, allocations: 19.94 kB / 0.5517 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/0.5791, allocations: 4.678 MB / 0.5562 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.5802, allocations: 0.8707 MB / 0.5571 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.5806, allocations: 79.98 kB / 0.5572 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.5818, allocations: 83.98 kB / 0.5572 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/0.5822, allocations: 285.2 kB / 0.5575 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.5824, allocations: 95.98 kB / 0.5576 GB, free: 10.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001801/0.5842, allocations: 1.921 MB / 0.5595 GB, free: 8.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5842, allocations: 0 / 0.5595 GB, free: 8.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005134/0.5893, allocations: 2.168 MB / 0.5616 GB, free: 6.48 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.0007816/0.5901, allocations: 303.3 kB / 0.5619 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005548/0.5957, allocations: 4.879 MB / 0.5666 GB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002057/0.5959, allocations: 132.2 kB / 0.5668 GB, free: 1.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.5975, allocations: 1.378 MB / 0.5681 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.601, allocations: 1.179 MB / 0.5693 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.6179, allocations: 14.38 MB / 0.5833 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.62, allocations: 2.335 MB / 0.5856 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002631/0.6226, allocations: 0.8705 MB / 0.5864 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.6243, allocations: 0.9151 MB / 0.5873 GB, free: 11.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.485e-06/0.6243, allocations: 0 / 0.5873 GB, free: 11.77 MB / 458.7 MB Notification: Performance of Templates: time 0.2359/0.8602, allocations: 72.36 MB / 0.658 GB, free: 174.1 MB / 490.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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.9080311339348555]