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.0007801/0.0007801, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002051, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007258/0.0007258, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001805, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.039/1.039, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08917/1.128, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2775/0.2775, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02723/0.3047, allocations: 13.24 MB / 292.8 MB, free: 6.406 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 1.522e-06/1.522e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.333e-05, allocations: 8.766 kB / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01898/0.019, allocations: 16.73 MB / 310.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03543, allocations: 5.856 MB / 316.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.03844, allocations: 127.4 kB / 316.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004384/0.04282, allocations: 4.656 MB / 321.4 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.04786, allocations: 3.172 MB / 324.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.05003, allocations: 1.536 MB / 326.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008185/0.05821, allocations: 9.849 MB / 336 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005347/0.06356, allocations: 5.629 MB / 341.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.06859, allocations: 5.287 MB / 346.9 MB, free: 24 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.07255, allocations: 4.653 MB / 351.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007965/0.07335, allocations: 0.668 MB / 352.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.07572, allocations: 1.869 MB / 354.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.07787, allocations: 3.527 MB / 357.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.07975, allocations: 1.983 MB / 359.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.08623, allocations: 8.037 MB / 367.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.08624, allocations: 0 / 367.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.08624, allocations: 0 / 367.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001757/0.08642, allocations: 0 / 367.7 MB, free: 11.22 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.009776/0.0962, allocations: 9.893 MB / 377.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09623, allocations: 8.922 kB / 377.6 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005402/0.1016, allocations: 2.287 MB / 379.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/0.1078, allocations: 3.603 MB / 383.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.1082, allocations: 427.3 kB / 383.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.1102, allocations: 0.601 MB / 384.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.1304, allocations: 9.561 MB / 394 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002672/0.1307, allocations: 83.31 kB / 394.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.1317, allocations: 271.7 kB / 394.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00304/0.1348, allocations: 3.156 MB / 397.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.1497, allocations: 5.269 MB / 402.8 MB, free: 6.688 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.2822/0.4318, allocations: 55.97 MB / 458.8 MB, free: 57.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008059/0.4399, allocations: 3.421 MB / 462.2 MB, free: 56.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.4416, allocations: 0.9173 MB / 463.1 MB, free: 56.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/0.4551, allocations: 8.785 MB / 471.9 MB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.4552, allocations: 73.55 kB / 472 MB, free: 55.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 6.502e-06/0.4552, allocations: 1.969 kB / 472 MB, free: 55.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.03771/0.4929, allocations: 15.21 MB / 487.2 MB, free: 54.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.493, allocations: 172.5 kB / 487.4 MB, free: 54.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/0.4979, allocations: 5.05 MB / 492.4 MB, free: 51.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004911/0.4984, allocations: 87.09 kB / 492.5 MB, free: 51.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.5002, allocations: 5.228 MB / 497.7 MB, free: 46.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.5015, allocations: 1.604 MB / 499.3 MB, free: 45.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/0.5033, allocations: 1.988 MB / 0.4896 GB, free: 44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.5034, allocations: 301.1 kB / 0.4898 GB, free: 43.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.5057, allocations: 1.544 MB / 0.4914 GB, free: 42.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.5093, allocations: 7.293 MB / 0.4985 GB, free: 32.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/0.5178, allocations: 10.42 MB / 0.5087 GB, free: 20.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002112/0.518, allocations: 60 kB / 0.5087 GB, free: 20.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01448/0.5325, allocations: 8.116 MB / 0.5166 GB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.5326, allocations: 92 kB / 0.5167 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.5328, allocations: 217.3 kB / 0.5169 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/0.5364, allocations: 1.47 MB / 0.5184 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005404/0.5418, allocations: 2.617 MB / 0.5209 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.5477, allocations: 4.693 MB / 0.5255 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/0.5533, allocations: 435.7 kB / 0.5259 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008582/0.5541, allocations: 0.5175 MB / 0.5264 GB, free: 3.008 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.002877/0.557, allocations: 0.9518 MB / 0.5274 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009074/0.5579, allocations: 423.6 kB / 0.5278 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005468/0.5634, allocations: 3.262 MB / 0.5309 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/0.5634, allocations: 55.98 kB / 0.531 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.5634, allocations: 12.14 kB / 0.531 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.5635, allocations: 23.92 kB / 0.531 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.5797, allocations: 10.18 MB / 0.541 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/0.5797, allocations: 24 kB / 0.541 GB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.5813, allocations: 0.6485 MB / 0.5416 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.5825, allocations: 0.5442 MB / 0.5422 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003462/0.586, allocations: 1.333 MB / 0.5435 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003834/0.5863, allocations: 83.34 kB / 0.5435 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005153/0.5915, allocations: 3.348 MB / 0.5468 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-05/0.5915, allocations: 23.88 kB / 0.5468 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007342/0.5988, allocations: 4.709 MB / 0.5514 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/0.6001, allocations: 83.98 kB / 0.5515 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/0.6022, allocations: 87.11 kB / 0.5516 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/0.6027, allocations: 289.2 kB / 0.5519 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/0.6032, allocations: 92 kB / 0.552 GB, free: 9.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00248/0.6057, allocations: 1.89 MB / 0.5538 GB, free: 7.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6057, allocations: 0 / 0.5538 GB, free: 7.598 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007339/0.613, allocations: 2.129 MB / 0.5559 GB, free: 5.469 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.0008021/0.6138, allocations: 291 kB / 0.5562 GB, free: 5.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00766/0.6215, allocations: 5.073 MB / 0.5611 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0005582/0.622, allocations: 174 kB / 0.5613 GB, free: 436 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004097/0.6261, allocations: 2.371 MB / 0.5636 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006088/0.6322, allocations: 4.732 MB / 0.5682 GB, free: 8.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/0.6582, allocations: 14.66 MB / 0.5825 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004834/0.6631, allocations: 2.326 MB / 0.5848 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002819/0.6659, allocations: 0.8509 MB / 0.5856 GB, free: 6.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.6674, allocations: 0.8995 MB / 0.5865 GB, free: 5.699 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6674, allocations: 0 / 0.5865 GB, free: 5.699 MB / 490.7 MB Notification: Performance of Templates: time 0.2456/0.913, allocations: 70.6 MB / 0.6555 GB, free: 164.7 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: 4.776294591836631]