Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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.001556/0.001556, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.00179/0.00179, allocations: 160.8 kB / 24.5 MB, free: 3.711 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.515/1.515, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 66.08 kB / 325.5 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1536, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00416/0.1578, allocations: 1.661 MB / 380.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1589, allocations: 490.8 kB / 381 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.159, allocations: 11.94 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1592, allocations: 15.8 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.1593, allocations: 27.8 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1595, allocations: 43.94 kB / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1597, allocations: 123.6 kB / 381.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1598, allocations: 17.23 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.1599, allocations: 47.78 kB / 381.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.16, allocations: 43.72 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.1601, allocations: 8 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.209e-05/0.1601, allocations: 8 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.1601, allocations: 19.92 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1602, allocations: 39.73 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1604, allocations: 103.4 kB / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1604, allocations: 0 / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1604, allocations: 0 / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1604, allocations: 0 / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000721/0.1611, allocations: 345.8 kB / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1612, allocations: 11.98 kB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.1612, allocations: 20.78 kB / 381.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1616, allocations: 158.8 kB / 382.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1616, allocations: 8.328 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.1616, allocations: 16.12 kB / 382.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.162, allocations: 131.3 kB / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.162, allocations: 0 / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.162, allocations: 0 / 382.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.162, allocations: 4 kB / 382.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.1623, allocations: 75.88 kB / 382.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.163, allocations: 492.5 kB / 382.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.1634, allocations: 130.4 kB / 382.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1636, allocations: 48.83 kB / 383 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1636, allocations: 4 kB / 383 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1636, allocations: 34.56 kB / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1636, allocations: 0 / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001225/0.1649, allocations: 456.7 kB / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1649, allocations: 51.41 kB / 383.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1651, allocations: 148.4 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1651, allocations: 33.69 kB / 383.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1652, allocations: 112 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1652, allocations: 43.64 kB / 383.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.1653, allocations: 37.7 kB / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1655, allocations: 323.8 kB / 384.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1657, allocations: 51.95 kB / 384.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.1658, allocations: 87.39 kB / 384.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1662, allocations: 135.4 kB / 384.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1662, allocations: 0 / 384.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003886/0.1666, allocations: 177.4 kB / 384.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1666, allocations: 15.06 kB / 384.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1666, allocations: 0 / 384.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1666, allocations: 3.938 kB / 384.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1668, allocations: 35.97 kB / 384.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1668, allocations: 11.88 kB / 384.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.1669, allocations: 15.98 kB / 384.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1669, allocations: 4 kB / 384.7 MB, free: 9.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001294/0.167, allocations: 121.8 kB / 384.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.167, allocations: 19.91 kB / 384.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.1671, allocations: 16.72 kB / 384.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1671, allocations: 7.938 kB / 384.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1671, allocations: 3.984 kB / 384.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1671, allocations: 0 / 384.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.1679, allocations: 431.6 kB / 385.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1679, allocations: 0 / 385.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.168, allocations: 31.92 kB / 385.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.168, allocations: 3.984 kB / 385.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.168, allocations: 8 kB / 385.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1681, allocations: 0 / 385.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1681, allocations: 0 / 385.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.1686, allocations: 321.1 kB / 385.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.1687, allocations: 11.91 kB / 385.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1687, allocations: 7.875 kB / 385.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1688, allocations: 16.03 kB / 385.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.1689, allocations: 11.97 kB / 385.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1689, allocations: 4 kB / 385.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.829e-05/0.169, allocations: 116.9 kB / 385.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.169, allocations: 4 kB / 385.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1692, allocations: 20 kB / 385.8 MB, free: 8.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.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 (12): * Single equations (assignments): 12 * 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.0001229/0.1693, allocations: 91.25 kB / 385.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.1697, allocations: 123.8 kB / 386 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1697, allocations: 0 / 386 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1699, allocations: 68.08 kB / 386.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1703, allocations: 40.12 kB / 386.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.171, allocations: 316.4 kB / 386.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1711, allocations: 102.8 kB / 386.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1712, allocations: 13.48 kB / 386.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1712, allocations: 16.5 kB / 386.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1712, allocations: 0 / 386.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Templates: time 0.005706/0.1769, allocations: 1.845 MB / 388.4 MB, free: 5.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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: 4.528851406998001]