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.001924/0.001924, allocations: 114 kB / 19.13 MB, free: 3.961 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.00235/0.00235, allocations: 208.9 kB / 22.08 MB, free: 1.004 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.596/1.596, allocations: 227.4 MB / 252.3 MB, free: 100 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.2328/0.2328, allocations: 46.17 MB / 351.8 MB, free: 14.38 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.002609/0.002609, allocations: 77.45 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1497, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.006236/0.156, allocations: 3.542 MB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.1597, allocations: 1.488 MB / 0.5453 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.1606, allocations: 23.88 kB / 0.5453 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.1611, allocations: 110.7 kB / 0.5454 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.1621, allocations: 158.5 kB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.1639, allocations: 0.6308 MB / 0.5461 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1653, allocations: 0.9406 MB / 0.5471 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.1659, allocations: 304.3 kB / 0.5474 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.1666, allocations: 366.5 kB / 0.5477 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.167, allocations: 358.1 kB / 0.548 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1672, allocations: 72 kB / 0.5481 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1674, allocations: 83.98 kB / 0.5482 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1675, allocations: 179.2 kB / 0.5484 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.1679, allocations: 357.8 kB / 0.5487 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.1692, allocations: 0.8476 MB / 0.5495 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1692, allocations: 0 / 0.5495 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1693, allocations: 0 / 0.5495 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1693, allocations: 4 kB / 0.5495 GB, free: 10.78 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.002553/0.1718, allocations: 1.232 MB / 0.5507 GB, free: 9.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1719, allocations: 12.03 kB / 0.5508 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.1725, allocations: 140.3 kB / 0.5509 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.1736, allocations: 0.6097 MB / 0.5515 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.1736, allocations: 41.31 kB / 0.5515 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-05/0.1737, allocations: 60.31 kB / 0.5516 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.1754, allocations: 0.7169 MB / 0.5523 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1754, allocations: 0 / 0.5523 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.1755, allocations: 23.98 kB / 0.5523 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1755, allocations: 20 kB / 0.5523 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.1771, allocations: 0.5503 MB / 0.5529 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1807, allocations: 2.271 MB / 0.5551 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1827, allocations: 0.7138 MB / 0.5558 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/0.1836, allocations: 335 kB / 0.5561 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.1837, allocations: 16.42 kB / 0.5561 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.1837, allocations: 42.88 kB / 0.5562 GB, free: 3.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.1837, allocations: 0 / 0.5562 GB, free: 3.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=50): time 0.005331/0.1891, allocations: 1.954 MB / 0.5581 GB, free: 1.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.1893, allocations: 235.8 kB / 0.5583 GB, free: 1.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/0.1901, allocations: 0.5786 MB / 0.5589 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1902, allocations: 41.64 kB / 0.5589 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.1906, allocations: 369.2 kB / 0.5592 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1908, allocations: 186.4 kB / 0.5594 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.191, allocations: 102.2 kB / 0.5595 GB, free: 148 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1912, allocations: 326 kB / 0.5598 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.1921, allocations: 298.9 kB / 0.5601 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1931, allocations: 431.7 kB / 0.5605 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1949, allocations: 0.6512 MB / 0.5612 GB, free: 14.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1949, allocations: 4 kB / 0.5612 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002136/0.1971, allocations: 0.7989 MB / 0.5619 GB, free: 13.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1971, allocations: 4 kB / 0.5619 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1971, allocations: 4 kB / 0.562 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1972, allocations: 7.938 kB / 0.562 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.198, allocations: 204 kB / 0.5622 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.1981, allocations: 4 kB / 0.5622 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.1986, allocations: 75.92 kB / 0.5622 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.1987, allocations: 23.98 kB / 0.5623 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000819/0.1995, allocations: 365.1 kB / 0.5626 GB, free: 12.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007284/0.2003, allocations: 365.3 kB / 0.563 GB, free: 12.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.2016, allocations: 0.5359 MB / 0.5635 GB, free: 11.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.663e-06/0.2016, allocations: 4 kB / 0.5635 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001573/0.2032, allocations: 0.6594 MB / 0.5641 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2032, allocations: 8 kB / 0.5641 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2033, allocations: 0 / 0.5641 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2033, allocations: 8 kB / 0.5641 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.204, allocations: 168 kB / 0.5643 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.204, allocations: 11.88 kB / 0.5643 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.2045, allocations: 59.95 kB / 0.5644 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.2045, allocations: 23.98 kB / 0.5644 GB, free: 10.95 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.0002458/0.2048, allocations: 212.1 kB / 0.5646 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.2049, allocations: 79.48 kB / 0.5647 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.2052, allocations: 87.42 kB / 0.5647 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.2052, allocations: 11.94 kB / 0.5648 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.2052, allocations: 0 / 0.5648 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2052, allocations: 3.938 kB / 0.5648 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.2084, allocations: 1.454 MB / 0.5662 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2085, allocations: 0 / 0.5662 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.2092, allocations: 159.8 kB / 0.5663 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.2092, allocations: 0 / 0.5663 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.2093, allocations: 19.98 kB / 0.5664 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2093, allocations: 0 / 0.5664 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2093, allocations: 4 kB / 0.5664 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.2125, allocations: 1.261 MB / 0.5676 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.2128, allocations: 188.6 kB / 0.5678 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.2129, allocations: 12 kB / 0.5678 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.2135, allocations: 79.91 kB / 0.5679 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.2137, allocations: 43.88 kB / 0.5679 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.2137, allocations: 16 kB / 0.5679 GB, free: 7.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005914/0.2143, allocations: 403.1 kB / 0.5683 GB, free: 6.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2143, allocations: 4 kB / 0.5683 GB, free: 6.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.2151, allocations: 180 kB / 0.5685 GB, free: 6.648 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.0001979/0.2153, allocations: 111.2 kB / 0.5686 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.2182, allocations: 0.9812 MB / 0.5695 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2182, allocations: 0 / 0.5695 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009803/0.2192, allocations: 355.8 kB / 0.5699 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.2204, allocations: 204.8 kB / 0.5701 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.2235, allocations: 1.387 MB / 0.5714 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/0.2243, allocations: 0.9257 MB / 0.5723 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2246, allocations: 63.41 kB / 0.5724 GB, free: 2.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.324e-06/0.2246, allocations: 0 / 0.5724 GB, free: 2.57 MB / 430.1 MB Notification: Performance of Templates: time 0.01793/0.2425, allocations: 8.914 MB / 0.5811 GB, free: 9.688 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.92998906201683]