Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.001626/0.001626, allocations: 120.8 kB / 18.45 MB, free: 4.461 MB / 14.72 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.001887/0.001887, allocations: 205 kB / 21.41 MB, free: 1.516 MB / 14.72 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.497/1.497, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2324/0.2324, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 77.61 kB / 490.2 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1518, allocations: 62.45 MB / 0.5397 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005609/0.1574, allocations: 3.549 MB / 0.5431 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.1609, allocations: 1.477 MB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.1617, allocations: 27.81 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.1621, allocations: 110.7 kB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.1632, allocations: 158.6 kB / 0.5449 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1649, allocations: 0.6297 MB / 0.5455 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1663, allocations: 0.9444 MB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.1669, allocations: 304.3 kB / 0.5467 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.1676, allocations: 366.5 kB / 0.5471 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.1682, allocations: 358.1 kB / 0.5474 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.1684, allocations: 72 kB / 0.5475 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1685, allocations: 83.98 kB / 0.5475 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.1687, allocations: 175.3 kB / 0.5477 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.169, allocations: 369.7 kB / 0.5481 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009646/0.17, allocations: 0.8399 MB / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.17, allocations: 0 / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.17, allocations: 0 / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.17, allocations: 0 / 0.5489 GB, free: 10.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002196/0.1722, allocations: 1.23 MB / 0.5501 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1723, allocations: 12.03 kB / 0.5501 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.1728, allocations: 144.3 kB / 0.5502 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.1737, allocations: 0.6097 MB / 0.5508 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.1738, allocations: 37.38 kB / 0.5509 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.1739, allocations: 68.19 kB / 0.5509 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1753, allocations: 0.7131 MB / 0.5516 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1753, allocations: 0 / 0.5516 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.1754, allocations: 23.94 kB / 0.5516 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1754, allocations: 16 kB / 0.5517 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.1769, allocations: 0.5542 MB / 0.5522 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.1802, allocations: 2.275 MB / 0.5544 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.182, allocations: 0.7177 MB / 0.5551 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.1828, allocations: 327 kB / 0.5554 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.1829, allocations: 20.42 kB / 0.5555 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.1829, allocations: 38.94 kB / 0.5555 GB, free: 3.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/0.183, allocations: 4 kB / 0.5555 GB, free: 3.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.004765/0.1877, allocations: 1.946 MB / 0.5574 GB, free: 1.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.1879, allocations: 235.8 kB / 0.5576 GB, free: 1.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.1886, allocations: 0.5826 MB / 0.5582 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.1887, allocations: 37.64 kB / 0.5582 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.189, allocations: 369.1 kB / 0.5586 GB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.1891, allocations: 182.4 kB / 0.5588 GB, free: 228 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.1893, allocations: 106.2 kB / 0.5589 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1895, allocations: 334 kB / 0.5592 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.1904, allocations: 294.9 kB / 0.5595 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.1914, allocations: 435.6 kB / 0.5599 GB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.193, allocations: 0.6512 MB / 0.5605 GB, free: 14.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.193, allocations: 0 / 0.5605 GB, free: 14.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001967/0.195, allocations: 0.799 MB / 0.5613 GB, free: 13.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.195, allocations: 6.188 kB / 0.5613 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1951, allocations: 4 kB / 0.5613 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1951, allocations: 7.938 kB / 0.5613 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.1959, allocations: 195.9 kB / 0.5615 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.196, allocations: 15.94 kB / 0.5615 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.1965, allocations: 71.92 kB / 0.5616 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.1965, allocations: 23.98 kB / 0.5616 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007679/0.1973, allocations: 365.1 kB / 0.5619 GB, free: 12.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006994/0.198, allocations: 365.3 kB / 0.5623 GB, free: 12.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001213/0.1992, allocations: 0.5358 MB / 0.5628 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.1993, allocations: 8 kB / 0.5628 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001482/0.2007, allocations: 0.6593 MB / 0.5635 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2008, allocations: 8.312 kB / 0.5635 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2008, allocations: 4 kB / 0.5635 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2008, allocations: 8 kB / 0.5635 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.2015, allocations: 159.8 kB / 0.5636 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2015, allocations: 11.92 kB / 0.5637 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2019, allocations: 59.95 kB / 0.5637 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.202, allocations: 24.27 kB / 0.5637 GB, free: 10.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.2022, allocations: 208.1 kB / 0.5639 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.2024, allocations: 83.47 kB / 0.564 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.2026, allocations: 87.42 kB / 0.5641 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.2026, allocations: 11.94 kB / 0.5641 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2026, allocations: 0 / 0.5641 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2026, allocations: 4 kB / 0.5641 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.2055, allocations: 1.458 MB / 0.5655 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2055, allocations: 0 / 0.5655 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.2062, allocations: 151.9 kB / 0.5657 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2062, allocations: 0 / 0.5657 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.2063, allocations: 19.98 kB / 0.5657 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2063, allocations: 0 / 0.5657 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.2063, allocations: 7.938 kB / 0.5657 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.2091, allocations: 1.261 MB / 0.5669 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2094, allocations: 188.6 kB / 0.5671 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.2095, allocations: 12 kB / 0.5671 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.2101, allocations: 83.91 kB / 0.5672 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.2102, allocations: 39.88 kB / 0.5672 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.2103, allocations: 16 kB / 0.5673 GB, free: 7.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005176/0.2108, allocations: 407 kB / 0.5676 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2108, allocations: 0 / 0.5676 GB, free: 6.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006955/0.2115, allocations: 180 kB / 0.5678 GB, free: 6.613 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.2117, allocations: 115.2 kB / 0.5679 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.2142, allocations: 0.9852 MB / 0.5689 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2143, allocations: 0 / 0.5689 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.2152, allocations: 347.8 kB / 0.5692 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2163, allocations: 208.5 kB / 0.5694 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.2189, allocations: 1.354 MB / 0.5707 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.2195, allocations: 0.9258 MB / 0.5716 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004588/0.2199, allocations: 92.78 kB / 0.5717 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2202, allocations: 59.41 kB / 0.5718 GB, free: 2.477 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2202, allocations: 0 / 0.5718 GB, free: 2.477 MB / 430.1 MB Notification: Performance of Templates: time 0.01675/0.2369, allocations: 8.732 MB / 0.5803 GB, free: 9.801 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.679454466328025]