Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 80.25 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 151.2 kB / 23.94 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.841e-05, allocations: 5.094 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004016/0.004044, allocations: 1.746 MB / 320.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009059/0.0131, allocations: 3.288 MB / 323.9 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.01332, allocations: 11.47 kB / 324 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.0139, allocations: 143.1 kB / 324.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.01407, allocations: 33.06 kB / 324.1 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008762/0.02283, allocations: 1.868 MB / 326 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009698/0.0238, allocations: 317 kB / 326.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.02398, allocations: 24.72 kB / 326.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.02439, allocations: 154.6 kB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.02465, allocations: 82.52 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.02471, allocations: 13.31 kB / 326.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008324/0.02554, allocations: 173.6 kB / 326.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.02582, allocations: 72.56 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.02601, allocations: 58.8 kB / 326.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.02732, allocations: 355.3 kB / 327.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/0.02733, allocations: 4 kB / 327.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.02733, allocations: 0 / 327.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.02735, allocations: 1.062 kB / 327.2 MB, free: 15.21 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001559/0.0289, allocations: 0.5135 MB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.02895, allocations: 10.77 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.02907, allocations: 32.22 kB / 327.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.02973, allocations: 226.6 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.02976, allocations: 12.72 kB / 328 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.02984, allocations: 18.72 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.03064, allocations: 431.5 kB / 328.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.03066, allocations: 0 / 328.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.0307, allocations: 6.219 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.03071, allocations: 2.25 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.03107, allocations: 85.12 kB / 328.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.03238, allocations: 421.1 kB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.03287, allocations: 163.4 kB / 329.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.03308, allocations: 55.92 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.03311, allocations: 5.344 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.03316, allocations: 33.77 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.03316, allocations: 1.469 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008866/0.03405, allocations: 219.2 kB / 329.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/0.03431, allocations: 294.6 kB / 329.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.03483, allocations: 282.9 kB / 330 MB, free: 13.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.03489, allocations: 32.08 kB / 330 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.03511, allocations: 155 kB / 330.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.03522, allocations: 53.12 kB / 330.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.03539, allocations: 62.73 kB / 330.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.03565, allocations: 344.3 kB / 330.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.03599, allocations: 97.73 kB / 330.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.03662, allocations: 411.4 kB / 331.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.03724, allocations: 206.6 kB / 331.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.03725, allocations: 4 kB / 331.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009073/0.03815, allocations: 311.1 kB / 331.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.03818, allocations: 4.562 kB / 331.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.03821, allocations: 7.453 kB / 331.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.03823, allocations: 1.031 kB / 331.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.03871, allocations: 50.47 kB / 331.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.03871, allocations: 1 kB / 331.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.03895, allocations: 31.44 kB / 331.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.03899, allocations: 9.672 kB / 331.7 MB, free: 11.82 MB / 302.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0002656/0.03926, allocations: 149.7 kB / 331.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.03935, allocations: 24.14 kB / 331.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.406e-05/0.03944, allocations: 31.91 kB / 331.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.03945, allocations: 2.031 kB / 331.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.03946, allocations: 112 / 331.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.03946, allocations: 5.125 kB / 331.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.03993, allocations: 196.6 kB / 332.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.03994, allocations: 1.156 kB / 332.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.0402, allocations: 26.36 kB / 332.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.0402, allocations: 1.094 kB / 332.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.04024, allocations: 14.45 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.04024, allocations: 1.25 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.04024, allocations: 0 / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.041, allocations: 331.3 kB / 332.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.04107, allocations: 31.78 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.04113, allocations: 11.47 kB / 332.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.04134, allocations: 9.859 kB / 332.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.04141, allocations: 15.16 kB / 332.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.04143, allocations: 2.25 kB / 332.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.04175, allocations: 203.4 kB / 332.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04175, allocations: 0 / 332.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007306/0.04248, allocations: 78.19 kB / 332.8 MB, free: 11.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0004864/0.04297, allocations: 148 kB / 333 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.04377, allocations: 267.6 kB / 333.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.04377, allocations: 1.031 kB / 333.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.04398, allocations: 66.23 kB / 333.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.0448, allocations: 73.81 kB / 333.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.04649, allocations: 0.5234 MB / 333.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.04676, allocations: 158.1 kB / 334.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.047, allocations: 51.17 kB / 334.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.0471, allocations: 21.09 kB / 334.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.0471, allocations: 0 / 334.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01451/0.0616, allocations: 3.982 MB / 338.1 MB, free: 8.051 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.391312975436449]