Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 112.2 kB / 21.19 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 210.1 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2842, allocations: 53.37 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003339/0.2876, allocations: 1.856 MB / 434.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.2943, allocations: 3.6 MB / 437.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2945, allocations: 11.81 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.295, allocations: 135.4 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2952, allocations: 39.66 kB / 438 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.2997, allocations: 1.757 MB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.3003, allocations: 319.2 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3004, allocations: 24.91 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.3007, allocations: 123.5 kB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3009, allocations: 103.4 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3009, allocations: 15.94 kB / 440.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.3013, allocations: 179.7 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3014, allocations: 75.69 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3016, allocations: 103.3 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.3021, allocations: 346.3 kB / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3021, allocations: 0 / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3021, allocations: 4 kB / 441 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3021, allocations: 0 / 441 MB, free: 14.25 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.0009249/0.3031, allocations: 0.5202 MB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3031, allocations: 8.031 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.3032, allocations: 32.75 kB / 441.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3037, allocations: 226.5 kB / 441.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3037, allocations: 16.56 kB / 441.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3038, allocations: 27.83 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.3041, allocations: 202.1 kB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3041, allocations: 0 / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3042, allocations: 4 kB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3042, allocations: 4 kB / 442.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.3044, allocations: 89.92 kB / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.3053, allocations: 463.7 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3057, allocations: 166.1 kB / 442.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3058, allocations: 60.84 kB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3058, allocations: 4 kB / 442.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3059, allocations: 34.56 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3059, allocations: 0 / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005459/0.3064, allocations: 221.4 kB / 443.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.3066, allocations: 290.7 kB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.3069, allocations: 276.5 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3069, allocations: 33.7 kB / 443.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3071, allocations: 160.4 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.3071, allocations: 55.53 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3072, allocations: 61.69 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3074, allocations: 346.8 kB / 444.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3076, allocations: 91.95 kB / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3079, allocations: 176.5 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.3082, allocations: 206 kB / 444.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3082, allocations: 8 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005042/0.3087, allocations: 305.6 kB / 445.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3088, allocations: 7.938 kB / 445.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/0.3088, allocations: 7.984 kB / 445.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3088, allocations: 0 / 445.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.3091, allocations: 47.97 kB / 445.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3091, allocations: 0 / 445.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3092, allocations: 35.81 kB / 445.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3092, allocations: 11.94 kB / 445.2 MB, free: 9.84 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.0001624/0.3094, allocations: 150 kB / 445.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3095, allocations: 27.81 kB / 445.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.3095, allocations: 29.91 kB / 445.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3095, allocations: 0 / 445.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3095, allocations: 0 / 445.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3095, allocations: 3.938 kB / 445.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.3098, allocations: 244.5 kB / 445.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3098, allocations: 0 / 445.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.31, allocations: 27.92 kB / 445.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.31, allocations: 8 kB / 445.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3101, allocations: 0 / 445.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3101, allocations: 4 kB / 445.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3101, allocations: 0 / 445.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.3107, allocations: 337.9 kB / 446 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.3107, allocations: 27.8 kB / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.3107, allocations: 8 kB / 446 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3109, allocations: 16.05 kB / 446 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3109, allocations: 11.92 kB / 446 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3109, allocations: 3.938 kB / 446 MB, free: 8.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3111, allocations: 199.1 kB / 446.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3111, allocations: 4 kB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.3115, allocations: 71.88 kB / 446.3 MB, free: 8.625 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.0002569/0.3118, allocations: 143.1 kB / 446.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3123, allocations: 272.9 kB / 446.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.3123, allocations: 4 kB / 446.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3124, allocations: 61.16 kB / 446.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.3129, allocations: 70.16 kB / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3141, allocations: 0.5958 MB / 447.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3146, allocations: 0.7791 MB / 448.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.3147, allocations: 19.44 kB / 448.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3147, allocations: 4 kB / 448.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of Templates: time 0.007379/0.3221, allocations: 3.907 MB / 452.2 MB, free: 2.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.975793096004054]