Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008032, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.001977, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006597/0.0006597, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001765, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9778/0.9778, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1733/1.151, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.8 MB / 272 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02026/0.154, allocations: 12.54 MB / 284.5 MB, free: 9.734 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.614e-05, allocations: 4.984 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01743/0.01746, allocations: 16.78 MB / 302.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.0274, allocations: 5.836 MB / 308.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.02879, allocations: 131.4 kB / 308.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.03289, allocations: 4.683 MB / 313.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.03681, allocations: 3.196 MB / 316.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.03883, allocations: 1.54 MB / 318 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1557/0.1945, allocations: 9.413 MB / 327.4 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00655/0.2011, allocations: 5.638 MB / 333.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007061/0.2081, allocations: 5.288 MB / 338.3 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004786/0.2129, allocations: 4.665 MB / 343 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.2144, allocations: 0.6631 MB / 343.7 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.2167, allocations: 1.872 MB / 345.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.2183, allocations: 3.565 MB / 349.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.2198, allocations: 2.012 MB / 351.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005587/0.2254, allocations: 8.116 MB / 359.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.2254, allocations: 4.562 kB / 359.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2254, allocations: 3.938 kB / 359.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003636/0.2258, allocations: 0.6562 kB / 359.2 MB, free: 11.62 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.009547/0.2353, allocations: 9.945 MB / 369.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2353, allocations: 8.031 kB / 369.2 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.2407, allocations: 2.287 MB / 371.5 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/0.2446, allocations: 3.605 MB / 375.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.2448, allocations: 430.1 kB / 375.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007252/0.2455, allocations: 0.5952 MB / 376.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009678/0.2552, allocations: 9.565 MB / 385.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.2553, allocations: 71.52 kB / 385.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004701/0.2558, allocations: 277.2 kB / 386 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/0.2584, allocations: 3.155 MB / 389.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008388/0.2668, allocations: 5.263 MB / 394.4 MB, free: 9.691 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.0455/0.3123, allocations: 55.97 MB / 450.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007231/0.3195, allocations: 3.423 MB / 453.8 MB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.3206, allocations: 0.9196 MB / 454.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.3323, allocations: 8.784 MB / 463.5 MB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.3323, allocations: 60.58 kB / 463.6 MB, free: 5.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 4.569e-06/0.3323, allocations: 4 kB / 463.6 MB, free: 5 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.03453/0.3669, allocations: 15.21 MB / 478.8 MB, free: 6.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002779/0.3672, allocations: 167.2 kB / 479 MB, free: 5.938 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.3714, allocations: 5.071 MB / 484 MB, free: 1.805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.3716, allocations: 85.7 kB / 484.1 MB, free: 1.715 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/0.3739, allocations: 5.226 MB / 489.3 MB, free: 12.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009503/0.3748, allocations: 1.599 MB / 490.9 MB, free: 11.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/0.3765, allocations: 1.989 MB / 492.9 MB, free: 9.297 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.3766, allocations: 301.1 kB / 493.2 MB, free: 9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.3788, allocations: 1.54 MB / 494.8 MB, free: 7.457 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1694/0.5481, allocations: 7.287 MB / 0.4903 GB, free: 137.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/0.5575, allocations: 10.42 MB / 0.5005 GB, free: 129.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/0.5577, allocations: 60.52 kB / 0.5005 GB, free: 129.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.0112/0.5689, allocations: 8.116 MB / 0.5085 GB, free: 127.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.569, allocations: 93.44 kB / 0.5085 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/0.5691, allocations: 211.3 kB / 0.5087 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/0.5728, allocations: 1.464 MB / 0.5102 GB, free: 127.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/0.577, allocations: 2.622 MB / 0.5127 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.5829, allocations: 4.685 MB / 0.5173 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/0.5872, allocations: 436.3 kB / 0.5177 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005869/0.5877, allocations: 0.5149 MB / 0.5182 GB, free: 125.8 MB / 458.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.002401/0.5901, allocations: 0.9555 MB / 0.5192 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/0.5907, allocations: 423 kB / 0.5196 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.5958, allocations: 3.268 MB / 0.5228 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/0.5958, allocations: 63.12 kB / 0.5228 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.5958, allocations: 10.44 kB / 0.5228 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.5959, allocations: 19.55 kB / 0.5228 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.6082, allocations: 10.18 MB / 0.5328 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.6082, allocations: 27.83 kB / 0.5328 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.6097, allocations: 0.6449 MB / 0.5334 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.6104, allocations: 0.5451 MB / 0.534 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.6134, allocations: 1.33 MB / 0.5353 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.6135, allocations: 84 kB / 0.5354 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.6176, allocations: 3.356 MB / 0.5386 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.6176, allocations: 23.97 kB / 0.5387 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.6232, allocations: 4.69 MB / 0.5432 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/0.6237, allocations: 89.44 kB / 0.5433 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.625, allocations: 79.98 kB / 0.5434 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.6253, allocations: 285.3 kB / 0.5437 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.6255, allocations: 96.02 kB / 0.5438 GB, free: 108.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001406/0.6269, allocations: 1.89 MB / 0.5456 GB, free: 106.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6269, allocations: 0 / 0.5456 GB, free: 106.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005091/0.632, allocations: 2.16 MB / 0.5477 GB, free: 104.5 MB / 458.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.0004951/0.6325, allocations: 312.3 kB / 0.548 GB, free: 104.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004446/0.6369, allocations: 5.076 MB / 0.553 GB, free: 99.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002249/0.6372, allocations: 170.1 kB / 0.5531 GB, free: 99.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002512/0.6397, allocations: 2.368 MB / 0.5555 GB, free: 96.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.6425, allocations: 4.763 MB / 0.5601 GB, free: 91.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.6608, allocations: 14.67 MB / 0.5744 GB, free: 76.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.6627, allocations: 2.32 MB / 0.5767 GB, free: 74.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002398/0.6651, allocations: 0.8587 MB / 0.5775 GB, free: 73.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.6665, allocations: 0.9053 MB / 0.5784 GB, free: 72.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6665, allocations: 0 / 0.5784 GB, free: 72.5 MB / 458.7 MB Notification: Performance of Templates: time 0.08646/0.7529, allocations: 70.84 MB / 0.6476 GB, free: 2.059 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.541901513934135]