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.001333/0.001333, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001444/0.001444, allocations: 212 kB / 24.54 MB, free: 4.016 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.58/1.58, allocations: 230.3 MB / 258 MB, free: 8.242 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.001887/0.001887, allocations: 67.88 kB / 378.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2778, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003042/0.2809, allocations: 1.85 MB / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.2875, allocations: 3.6 MB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.2877, allocations: 15.81 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.2883, allocations: 127.3 kB / 437.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2884, allocations: 39.7 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.2931, allocations: 1.779 MB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.2936, allocations: 311.2 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2937, allocations: 20.94 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.294, allocations: 127.5 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2941, allocations: 107.4 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.2942, allocations: 12 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.2945, allocations: 179.7 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2946, allocations: 75.7 kB / 440.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2948, allocations: 103.3 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.2952, allocations: 342.3 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2952, allocations: 8 kB / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2952, allocations: 0 / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2953, allocations: 4 kB / 440.8 MB, free: 14.4 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.0009357/0.2962, allocations: 0.5163 MB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2962, allocations: 12.03 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.2963, allocations: 28.75 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2968, allocations: 222.6 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2968, allocations: 12.56 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.2968, allocations: 27.81 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.2972, allocations: 197.5 kB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2972, allocations: 4 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2973, allocations: 8 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2973, allocations: 0 / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.2975, allocations: 91.88 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.2983, allocations: 459.6 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.2986, allocations: 166.6 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.2988, allocations: 56.77 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2988, allocations: 4 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2988, allocations: 34.56 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2988, allocations: 0 / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005114/0.2993, allocations: 217.5 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2995, allocations: 290.7 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.2998, allocations: 288.5 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2998, allocations: 25.7 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3, allocations: 168.4 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3, allocations: 43.59 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3001, allocations: 65.69 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3003, allocations: 338.8 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3005, allocations: 99.94 kB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.3007, allocations: 176.5 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3011, allocations: 210 kB / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3011, allocations: 0 / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005266/0.3016, allocations: 313.3 kB / 444.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3016, allocations: 6.344 kB / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.3017, allocations: 4 kB / 444.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3017, allocations: 4 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.302, allocations: 47.95 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.302, allocations: 0 / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3021, allocations: 31.83 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3021, allocations: 11.94 kB / 444.9 MB, free: 10 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.0001684/0.3023, allocations: 154.4 kB / 445 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.3023, allocations: 23.86 kB / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.3024, allocations: 29.91 kB / 445.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3024, allocations: 7.984 kB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3024, allocations: 4 kB / 445.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3024, allocations: 3.938 kB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.3028, allocations: 244.5 kB / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3028, allocations: 0 / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.303, allocations: 27.92 kB / 445.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.303, allocations: 0 / 445.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.303, allocations: 12 kB / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.303, allocations: 0 / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.303, allocations: 0 / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.3035, allocations: 331.3 kB / 445.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.3035, allocations: 27.75 kB / 445.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.3036, allocations: 12.05 kB / 445.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3037, allocations: 4 kB / 445.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.3038, allocations: 23.86 kB / 445.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3038, allocations: 4 kB / 445.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.304, allocations: 195.1 kB / 446 MB, free: 8.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.304, allocations: 0 / 446 MB, free: 8.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.3044, allocations: 83.86 kB / 446 MB, free: 8.773 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.000271/0.3046, allocations: 138.6 kB / 446.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.3051, allocations: 265.4 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3051, allocations: 4 kB / 446.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.3052, allocations: 67.89 kB / 446.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.3058, allocations: 73.3 kB / 446.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3069, allocations: 0.5556 MB / 447.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.3073, allocations: 0.7752 MB / 447.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.3075, allocations: 50.03 kB / 448 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3075, allocations: 19.44 kB / 448 MB, free: 6.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3075, allocations: 0 / 448 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Templates: time 0.009273/0.3168, allocations: 3.863 MB / 451.8 MB, free: 2.914 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.824991460889578]