Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.001925/0.001925, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.002503/0.002502, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.495/1.495, allocations: 227.5 MB / 252.3 MB, free: 80 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.2425/0.2425, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 81.77 kB / 490.9 MB, free: 28.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1607, allocations: 62.45 MB / 0.5403 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00364/0.1644, allocations: 1.698 MB / 0.542 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1659, allocations: 0.6546 MB / 0.5426 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.166, allocations: 4 kB / 0.5426 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.1661, allocations: 15.86 kB / 0.5427 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1663, allocations: 19.75 kB / 0.5427 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1669, allocations: 153.9 kB / 0.5428 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1671, allocations: 151.7 kB / 0.543 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1673, allocations: 36.83 kB / 0.543 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1675, allocations: 75.75 kB / 0.5431 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1677, allocations: 75.61 kB / 0.5431 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.1677, allocations: 12 kB / 0.5432 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.1678, allocations: 16 kB / 0.5432 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1678, allocations: 31.91 kB / 0.5432 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.1679, allocations: 59.7 kB / 0.5433 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1682, allocations: 131.5 kB / 0.5434 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1682, allocations: 0 / 0.5434 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1682, allocations: 0 / 0.5434 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1682, allocations: 4 kB / 0.5434 GB, free: 1.234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008898/0.1691, allocations: 469.7 kB / 0.5438 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.1692, allocations: 8.031 kB / 0.5438 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.1694, allocations: 32.77 kB / 0.5439 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1698, allocations: 220.2 kB / 0.5441 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1698, allocations: 4.375 kB / 0.5441 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.1699, allocations: 12.31 kB / 0.5441 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.1703, allocations: 180.4 kB / 0.5443 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1704, allocations: 0 / 0.5443 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1704, allocations: 4 kB / 0.5443 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1704, allocations: 4 kB / 0.5443 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.1708, allocations: 123.9 kB / 0.5444 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.1718, allocations: 464.3 kB / 0.5448 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.1725, allocations: 190.4 kB / 0.545 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1727, allocations: 72.8 kB / 0.5451 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1727, allocations: 8.156 kB / 0.5451 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1728, allocations: 34.55 kB / 0.5451 GB, free: 15.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1728, allocations: 0 / 0.5451 GB, free: 15.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001653/0.1745, allocations: 0.5681 MB / 0.5457 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.1746, allocations: 114.7 kB / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1748, allocations: 161.2 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1748, allocations: 25.7 kB / 0.546 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.1749, allocations: 108.1 kB / 0.5461 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1749, allocations: 27.7 kB / 0.5461 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.175, allocations: 29.7 kB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1752, allocations: 326.8 kB / 0.5464 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1754, allocations: 72.8 kB / 0.5465 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1757, allocations: 94.5 kB / 0.5466 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1761, allocations: 140.9 kB / 0.5467 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1761, allocations: 0 / 0.5467 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005106/0.1766, allocations: 193.5 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1767, allocations: 4 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1767, allocations: 3.938 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1767, allocations: 4 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1769, allocations: 35.91 kB / 0.547 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.1769, allocations: 4 kB / 0.547 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1771, allocations: 23.97 kB / 0.547 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1771, allocations: 0 / 0.547 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001749/0.1773, allocations: 124.1 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000118/0.1774, allocations: 54.55 kB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001879/0.1776, allocations: 80.78 kB / 0.5472 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.1776, allocations: 0 / 0.5472 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002701/0.1779, allocations: 125.8 kB / 0.5474 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1779, allocations: 9.859 kB / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.1779, allocations: 96 / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/0.1779, allocations: 3.938 kB / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.178, allocations: 27.98 kB / 0.5474 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.178, allocations: 3.938 kB / 0.5474 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.1781, allocations: 11.98 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1781, allocations: 0 / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001369/0.1783, allocations: 184.3 kB / 0.5476 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.1783, allocations: 15.91 kB / 0.5476 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.1784, allocations: 21.39 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1784, allocations: 7.938 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1784, allocations: 0 / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1784, allocations: 0 / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.1794, allocations: 0.5152 MB / 0.5481 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1794, allocations: 3.938 kB / 0.5481 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1796, allocations: 31.97 kB / 0.5482 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1796, allocations: 0 / 0.5482 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1797, allocations: 8 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1797, allocations: 0 / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1797, allocations: 0 / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.1805, allocations: 368.1 kB / 0.5485 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.1806, allocations: 89.03 kB / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1807, allocations: 0 / 0.5486 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.181, allocations: 39.95 kB / 0.5487 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.181, allocations: 15.91 kB / 0.5487 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.181, allocations: 8.062 kB / 0.5487 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1811, allocations: 120.9 kB / 0.5488 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1812, allocations: 0 / 0.5488 GB, free: 11.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1815, allocations: 32 kB / 0.5488 GB, free: 11.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001615/0.1816, allocations: 103.2 kB / 0.5489 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.1823, allocations: 200 kB / 0.5491 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1823, allocations: 0 / 0.5491 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.1826, allocations: 83.92 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.183, allocations: 35.97 kB / 0.5492 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007845/0.1838, allocations: 310.2 kB / 0.5495 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1842, allocations: 0.7085 MB / 0.5502 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1843, allocations: 15.44 kB / 0.5502 GB, free: 9.719 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1843, allocations: 0 / 0.5502 GB, free: 9.719 MB / 414.1 MB Notification: Performance of Templates: time 0.004636/0.1889, allocations: 1.849 MB / 0.552 GB, free: 7.875 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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: 7.937321804929525]