Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007478/0.0007478, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001769, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007325/0.0007325, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008873/0.00162, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.038/1.038, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08783/1.126, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2829/0.2829, allocations: 34.87 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02477/0.3076, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 293.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.576e-05, allocations: 5.094 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0175/0.01753, allocations: 16.72 MB / 310.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.02909, allocations: 5.846 MB / 316.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.03185, allocations: 131.4 kB / 316.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.03646, allocations: 4.672 MB / 321.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.04296, allocations: 3.165 MB / 324.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.04544, allocations: 1.54 MB / 325.9 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.05582, allocations: 9.855 MB / 335.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00858/0.0644, allocations: 5.625 MB / 341.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.07765, allocations: 5.291 MB / 346.7 MB, free: 116 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008347/0.086, allocations: 4.657 MB / 351.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002468/0.08846, allocations: 0.6641 MB / 352 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.09288, allocations: 1.865 MB / 353.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004548/0.09743, allocations: 3.523 MB / 357.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006262/0.1037, allocations: 1.983 MB / 359.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.1173, allocations: 8.049 MB / 367.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.865e-05/0.1174, allocations: 0 / 367.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1174, allocations: 4 kB / 367.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006225/0.118, allocations: 0 / 367.4 MB, free: 11.31 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.01682/0.1348, allocations: 9.893 MB / 377.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1348, allocations: 8.922 kB / 377.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006881/0.1417, allocations: 2.283 MB / 379.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/0.1484, allocations: 3.606 MB / 383.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.1488, allocations: 431.3 kB / 383.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/0.1506, allocations: 0.6049 MB / 384.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.1691, allocations: 9.561 MB / 393.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003008/0.1694, allocations: 71.41 kB / 393.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/0.1707, allocations: 275.7 kB / 394.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003517/0.1742, allocations: 3.363 MB / 397.5 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.1898, allocations: 5.273 MB / 402.8 MB, free: 6.566 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.2612/0.451, allocations: 55.97 MB / 458.8 MB, free: 56.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.4588, allocations: 3.418 MB / 462.2 MB, free: 56.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.4605, allocations: 0.9156 MB / 463.1 MB, free: 56.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.4744, allocations: 8.795 MB / 471.9 MB, free: 55.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.4745, allocations: 64.95 kB / 472 MB, free: 55.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 7.103e-06/0.4745, allocations: 0 / 472 MB, free: 55.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.03599/0.5105, allocations: 14.82 MB / 486.8 MB, free: 54.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.5105, allocations: 175.8 kB / 486.9 MB, free: 53.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/0.5154, allocations: 5.059 MB / 492 MB, free: 51.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005517/0.516, allocations: 84.89 kB / 492.1 MB, free: 51.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.5177, allocations: 5.229 MB / 497.3 MB, free: 46.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.519, allocations: 1.598 MB / 498.9 MB, free: 45.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.5209, allocations: 1.987 MB / 0.4892 GB, free: 44.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.163e-05/0.5209, allocations: 305.1 kB / 0.4894 GB, free: 43.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.5232, allocations: 1.54 MB / 0.491 GB, free: 42.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/0.5274, allocations: 7.3 MB / 0.4981 GB, free: 32.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007471/0.5348, allocations: 9.731 MB / 0.5076 GB, free: 21.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/0.535, allocations: 60 kB / 0.5076 GB, free: 21.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01463/0.5496, allocations: 8.11 MB / 0.5156 GB, free: 13.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.5498, allocations: 92 kB / 0.5156 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.55, allocations: 208 kB / 0.5158 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/0.5536, allocations: 1.46 MB / 0.5173 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005419/0.559, allocations: 2.617 MB / 0.5198 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.5652, allocations: 4.693 MB / 0.5244 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/0.5707, allocations: 435.7 kB / 0.5248 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/0.5718, allocations: 0.5195 MB / 0.5253 GB, free: 3.875 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.003036/0.5749, allocations: 0.9497 MB / 0.5263 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008947/0.5757, allocations: 427.6 kB / 0.5267 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/0.5809, allocations: 3.264 MB / 0.5299 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.733e-05/0.5809, allocations: 66.72 kB / 0.5299 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.581, allocations: 12 kB / 0.5299 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.581, allocations: 15.94 kB / 0.5299 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.5992, allocations: 10.18 MB / 0.5399 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.5992, allocations: 16.19 kB / 0.5399 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.601, allocations: 0.6554 MB / 0.5405 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.6025, allocations: 0.5375 MB / 0.5411 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.606, allocations: 1.327 MB / 0.5424 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/0.6064, allocations: 81.78 kB / 0.5424 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004694/0.6111, allocations: 3.346 MB / 0.5457 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/0.6111, allocations: 23.88 kB / 0.5457 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.6183, allocations: 4.674 MB / 0.5503 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/0.6194, allocations: 79.98 kB / 0.5504 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.621, allocations: 87.89 kB / 0.5505 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/0.6215, allocations: 289.2 kB / 0.5507 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.6217, allocations: 100 kB / 0.5508 GB, free: 10.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002663/0.6243, allocations: 1.883 MB / 0.5527 GB, free: 8.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6243, allocations: 0 / 0.5527 GB, free: 8.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008332/0.6326, allocations: 2.128 MB / 0.5547 GB, free: 6.375 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.0008875/0.6335, allocations: 286.2 kB / 0.555 GB, free: 6.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00834/0.6419, allocations: 4.892 MB / 0.5598 GB, free: 1.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0007272/0.6426, allocations: 170.1 kB / 0.56 GB, free: 1.145 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.6449, allocations: 1.369 MB / 0.5613 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/0.6503, allocations: 1.582 MB / 0.5628 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/0.675, allocations: 14.65 MB / 0.5772 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001994/0.677, allocations: 2.323 MB / 0.5794 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002513/0.6795, allocations: 0.8665 MB / 0.5803 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.6811, allocations: 0.9268 MB / 0.5812 GB, free: 11.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6811, allocations: 0 / 0.5812 GB, free: 11.21 MB / 490.7 MB Notification: Performance of Templates: time 0.2345/0.9156, allocations: 72.32 MB / 0.6518 GB, free: 168.5 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.2856437135487795]