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.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.0008212/0.0008212, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001954, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007481/0.0007481, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000885/0.001633, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.105/1.105, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1203/1.226, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3245/0.3245, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03978/0.3643, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.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.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 2.314e-06/2.314e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.985e-05, allocations: 3.297 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01569/0.01572, allocations: 16.73 MB / 307.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.03128, allocations: 5.84 MB / 313.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.03535, allocations: 127.4 kB / 313.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007042/0.04239, allocations: 4.664 MB / 318 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.05269, allocations: 3.165 MB / 321.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.05686, allocations: 1.536 MB / 322.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01377/0.07064, allocations: 9.856 MB / 332.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01064/0.08128, allocations: 5.637 MB / 338.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.09441, allocations: 5.283 MB / 343.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008316/0.1027, allocations: 4.657 MB / 348.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003065/0.1058, allocations: 0.6641 MB / 348.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.1117, allocations: 1.873 MB / 350.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006422/0.1181, allocations: 3.523 MB / 354.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007315/0.1254, allocations: 1.979 MB / 356.1 MB, free: 6.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01779/0.1432, allocations: 8.049 MB / 364.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.351e-05/0.1432, allocations: 0 / 364.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1432, allocations: 0 / 364.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006075/0.1438, allocations: 0 / 364.2 MB, free: 14.43 MB / 362.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.02126/0.1651, allocations: 9.9 MB / 374.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1651, allocations: 12.03 kB / 374.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009242/0.1744, allocations: 2.283 MB / 376.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/0.1828, allocations: 3.603 MB / 380 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.1832, allocations: 431.3 kB / 380.4 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.1856, allocations: 0.601 MB / 381 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.2083, allocations: 9.557 MB / 390.6 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003036/0.2086, allocations: 83.31 kB / 390.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001289/0.2099, allocations: 271.7 kB / 390.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003784/0.2137, allocations: 3.359 MB / 394.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.2309, allocations: 5.266 MB / 399.5 MB, free: 9.676 MB / 394.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.4661/0.697, allocations: 55.97 MB / 455.5 MB, free: 78.34 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/0.706, allocations: 3.426 MB / 458.9 MB, free: 78.1 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.7082, allocations: 0.9159 MB / 459.8 MB, free: 78.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01615/0.7243, allocations: 8.783 MB / 468.6 MB, free: 77.34 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.7244, allocations: 72.2 kB / 468.7 MB, free: 77.3 MB / 426.8 MB Notification: Performance of pre-optimization done (n=334): time 6.983e-06/0.7244, allocations: 0 / 468.7 MB, free: 77.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=421): time 0.03796/0.7624, allocations: 14.82 MB / 483.5 MB, free: 71.84 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7624, allocations: 167.2 kB / 483.7 MB, free: 71.64 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005824/0.7683, allocations: 5.059 MB / 488.7 MB, free: 68.13 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009691/0.7692, allocations: 84.39 kB / 488.8 MB, free: 68.09 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002435/0.7717, allocations: 5.232 MB / 494.1 MB, free: 63.07 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.7737, allocations: 1.596 MB / 495.7 MB, free: 61.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.7756, allocations: 1.987 MB / 497.6 MB, free: 59.46 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.7756, allocations: 301.1 kB / 497.9 MB, free: 59.17 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.7778, allocations: 1.548 MB / 499.5 MB, free: 57.62 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.7816, allocations: 7.297 MB / 0.4949 GB, free: 47.54 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007266/0.7889, allocations: 9.732 MB / 0.5044 GB, free: 35.55 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/0.7891, allocations: 56 kB / 0.5045 GB, free: 35.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01455/0.8036, allocations: 8.103 MB / 0.5124 GB, free: 27.34 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.8038, allocations: 96 kB / 0.5125 GB, free: 27.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/0.8039, allocations: 208 kB / 0.5127 GB, free: 27.04 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/0.8076, allocations: 1.454 MB / 0.5141 GB, free: 25.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006434/0.8141, allocations: 2.617 MB / 0.5166 GB, free: 22.97 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/0.821, allocations: 4.714 MB / 0.5212 GB, free: 18.16 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008333/0.8294, allocations: 431.7 kB / 0.5217 GB, free: 17.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/0.8312, allocations: 0.5155 MB / 0.5222 GB, free: 17.23 MB / 426.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.004211/0.8354, allocations: 0.9458 MB / 0.5231 GB, free: 16.26 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/0.8368, allocations: 427.5 kB / 0.5235 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.8425, allocations: 3.264 MB / 0.5267 GB, free: 12.54 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-05/0.8426, allocations: 70.97 kB / 0.5267 GB, free: 12.47 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.8426, allocations: 8 kB / 0.5268 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.8426, allocations: 19.94 kB / 0.5268 GB, free: 12.45 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/0.8646, allocations: 10.19 MB / 0.5367 GB, free: 1.891 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/0.8647, allocations: 16 kB / 0.5367 GB, free: 1.875 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.8665, allocations: 0.6481 MB / 0.5374 GB, free: 1.227 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/0.8688, allocations: 0.5467 MB / 0.5379 GB, free: 0.6758 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.8736, allocations: 1.315 MB / 0.5392 GB, free: 15.35 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007806/0.8744, allocations: 80 kB / 0.5393 GB, free: 15.27 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/0.8803, allocations: 3.349 MB / 0.5425 GB, free: 11.83 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/0.8803, allocations: 23.88 kB / 0.5426 GB, free: 11.8 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008546/0.8888, allocations: 4.675 MB / 0.5471 GB, free: 6.746 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/0.8905, allocations: 91.91 kB / 0.5472 GB, free: 6.656 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/0.8928, allocations: 79.98 kB / 0.5473 GB, free: 6.578 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/0.8933, allocations: 291.6 kB / 0.5476 GB, free: 6.293 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/0.8935, allocations: 88 kB / 0.5476 GB, free: 6.207 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003454/0.897, allocations: 1.889 MB / 0.5495 GB, free: 4.344 MB / 442.8 MB Notification: Performance of sort global known variables: time 5.71e-07/0.897, allocations: 0 / 0.5495 GB, free: 4.344 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009608/0.9066, allocations: 2.125 MB / 0.5516 GB, free: 2.219 MB / 442.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.001187/0.9078, allocations: 291.5 kB / 0.5518 GB, free: 1.922 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009759/0.9176, allocations: 4.886 MB / 0.5566 GB, free: 13.05 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0007327/0.9183, allocations: 174.1 kB / 0.5568 GB, free: 12.86 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.9206, allocations: 1.378 MB / 0.5581 GB, free: 11.46 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/0.9268, allocations: 1.582 MB / 0.5597 GB, free: 9.898 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/0.9562, allocations: 14.65 MB / 0.574 GB, free: 10.93 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/0.9612, allocations: 2.327 MB / 0.5763 GB, free: 8.578 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003813/0.965, allocations: 0.8626 MB / 0.5771 GB, free: 7.711 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/0.9675, allocations: 0.9229 MB / 0.578 GB, free: 6.785 MB / 474.8 MB Notification: Performance of SimCode: time 3.556e-06/0.9675, allocations: 0 / 0.578 GB, free: 6.785 MB / 474.8 MB Notification: Performance of Templates: time 0.3066/1.274, allocations: 72.32 MB / 0.6486 GB, free: 167.7 MB / 0.4949 GB " [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: 6.051137109287083]