Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.001324/0.001324, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001441/0.001441, allocations: 216.7 kB / 22.99 MB, free: 5.574 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.452/1.452, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.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.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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.88 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 53.32 MB / 429.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003025/0.2932, allocations: 1.858 MB / 431.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.2994, allocations: 3.581 MB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2995, allocations: 11.88 kB / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.3, allocations: 127.3 kB / 435.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3001, allocations: 43.66 kB / 435.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00374/0.3038, allocations: 1.691 MB / 437.1 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.3042, allocations: 311.1 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3044, allocations: 24.73 kB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.3046, allocations: 119.5 kB / 437.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3047, allocations: 103.4 kB / 437.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.3048, allocations: 12 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.3051, allocations: 151.7 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3052, allocations: 83.61 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3053, allocations: 99.34 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.3057, allocations: 340.3 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3058, allocations: 7.938 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3058, allocations: 0 / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3058, allocations: 0 / 438.3 MB, free: 14.96 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009335/0.3067, allocations: 0.5877 MB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3067, allocations: 11.97 kB / 438.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.3068, allocations: 32.75 kB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.3072, allocations: 276.5 kB / 439.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3072, allocations: 20.53 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.3072, allocations: 19.89 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3076, allocations: 209.4 kB / 439.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3076, allocations: 3.938 kB / 439.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3076, allocations: 8 kB / 439.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3076, allocations: 0 / 439.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3078, allocations: 87.88 kB / 439.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.3087, allocations: 496.5 kB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.309, allocations: 158.5 kB / 440.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3091, allocations: 56.83 kB / 440.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3092, allocations: 4 kB / 440.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3092, allocations: 34.56 kB / 440.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3092, allocations: 0 / 440.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005001/0.3097, allocations: 225.4 kB / 440.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.3099, allocations: 290.7 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3102, allocations: 284.5 kB / 441.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3102, allocations: 25.7 kB / 441.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3103, allocations: 160.5 kB / 441.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.3104, allocations: 43.59 kB / 441.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3105, allocations: 69.67 kB / 441.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3107, allocations: 338.8 kB / 441.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3109, allocations: 99.94 kB / 441.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3111, allocations: 180.4 kB / 442 MB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.3115, allocations: 213.2 kB / 442.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3115, allocations: 4 kB / 442.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006331/0.3121, allocations: 297.9 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3121, allocations: 4 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.3122, allocations: 4.094 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3122, allocations: 3.938 kB / 442.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3125, allocations: 59.89 kB / 442.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3125, allocations: 4 kB / 442.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.3126, allocations: 31.72 kB / 442.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.3126, allocations: 8 kB / 442.6 MB, free: 10.35 MB / 350.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.0001566/0.3128, allocations: 158.1 kB / 442.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.3128, allocations: 31.75 kB / 442.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.3129, allocations: 29.97 kB / 442.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3129, allocations: 0 / 442.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3129, allocations: 0 / 442.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.3129, allocations: 7.938 kB / 442.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.3132, allocations: 261.5 kB / 443.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3132, allocations: 3.984 kB / 443.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3134, allocations: 27.98 kB / 443.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3134, allocations: 0 / 443.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3134, allocations: 4 kB / 443.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3134, allocations: 4 kB / 443.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3134, allocations: 0 / 443.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.3139, allocations: 338.4 kB / 443.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.314, allocations: 104.9 kB / 443.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3141, allocations: 16.05 kB / 443.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3142, allocations: 4 kB / 443.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3142, allocations: 15.92 kB / 443.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3142, allocations: 4 kB / 443.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.3144, allocations: 195.1 kB / 443.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3144, allocations: 0 / 443.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.3148, allocations: 75.88 kB / 443.8 MB, free: 9.004 MB / 350.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.0003025/0.3151, allocations: 139.1 kB / 444 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.3156, allocations: 280.8 kB / 444.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3156, allocations: 0 / 444.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3158, allocations: 59.95 kB / 444.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3163, allocations: 78.94 kB / 444.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3174, allocations: 0.5739 MB / 445 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3179, allocations: 0.7751 MB / 445.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.318, allocations: 45.92 kB / 445.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.3181, allocations: 19.44 kB / 445.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3181, allocations: 0 / 445.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Templates: time 0.008396/0.3265, allocations: 3.801 MB / 449.6 MB, free: 3.188 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.737636715173721]