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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 112.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 55.91 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 49.42 MB / 401.4 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003096/0.2979, allocations: 1.836 MB / 403.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005573/0.3035, allocations: 3.501 MB / 406.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.3037, allocations: 7.875 kB / 406.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.3042, allocations: 131.4 kB / 406.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3044, allocations: 39.64 kB / 406.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.3087, allocations: 1.782 MB / 408.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.3091, allocations: 299.2 kB / 409 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3093, allocations: 32.72 kB / 409 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3095, allocations: 115.5 kB / 409.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3096, allocations: 107.4 kB / 409.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3097, allocations: 12 kB / 409.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.31, allocations: 147.7 kB / 409.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3101, allocations: 67.77 kB / 409.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.3102, allocations: 103.3 kB / 409.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.3107, allocations: 334.9 kB / 409.9 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3107, allocations: 0 / 409.9 MB, free: 268 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3107, allocations: 0 / 409.9 MB, free: 268 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3107, allocations: 0 / 409.9 MB, free: 268 kB / 318.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.0008892/0.3116, allocations: 0.5802 MB / 410.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3116, allocations: 11.97 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.3117, allocations: 32.56 kB / 410.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3121, allocations: 288 kB / 410.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3121, allocations: 8 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.3122, allocations: 16 kB / 410.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.3125, allocations: 202.1 kB / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3125, allocations: 0 / 411 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3125, allocations: 8 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3125, allocations: 3.938 kB / 411 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3127, allocations: 87.94 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.3135, allocations: 488.3 kB / 411.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3138, allocations: 170.5 kB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3139, allocations: 60.58 kB / 411.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.314, allocations: 7.984 kB / 411.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.314, allocations: 38.56 kB / 411.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.314, allocations: 0 / 411.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004553/0.3145, allocations: 217.4 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.3146, allocations: 290.7 kB / 412.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3149, allocations: 288.4 kB / 412.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3149, allocations: 29.7 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3151, allocations: 160.4 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.3151, allocations: 51.25 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.3152, allocations: 57.7 kB / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3154, allocations: 338.8 kB / 413.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3155, allocations: 95.94 kB / 413.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3158, allocations: 180.5 kB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3161, allocations: 205.5 kB / 413.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3161, allocations: 0 / 413.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000449/0.3166, allocations: 313.1 kB / 414 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3166, allocations: 4 kB / 414 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.3166, allocations: 7.984 kB / 414 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3167, allocations: 3.938 kB / 414 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3169, allocations: 47.97 kB / 414.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.317, allocations: 0 / 414.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3171, allocations: 23.78 kB / 414.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.3171, allocations: 15.92 kB / 414.1 MB, free: 11.67 MB / 334.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.0001411/0.3172, allocations: 153.8 kB / 414.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.3173, allocations: 27.62 kB / 414.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.3174, allocations: 29.97 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3174, allocations: 3.938 kB / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3174, allocations: 0 / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3174, allocations: 0 / 414.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.3177, allocations: 265.5 kB / 414.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3177, allocations: 0 / 414.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.3179, allocations: 31.92 kB / 414.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3179, allocations: 0 / 414.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3179, allocations: 4 kB / 414.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3179, allocations: 12.05 kB / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3179, allocations: 3.938 kB / 414.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.3184, allocations: 331 kB / 415 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3185, allocations: 104.8 kB / 415.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3185, allocations: 8.062 kB / 415.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3186, allocations: 23.84 kB / 415.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3187, allocations: 8 kB / 415.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3187, allocations: 4 kB / 415.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3189, allocations: 199.1 kB / 415.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3189, allocations: 0 / 415.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.3193, allocations: 75.89 kB / 415.4 MB, free: 10.31 MB / 334.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.0002528/0.3195, allocations: 143.2 kB / 415.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.32, allocations: 276.9 kB / 415.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.32, allocations: 8.094 kB / 415.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3201, allocations: 67.83 kB / 415.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3206, allocations: 74.22 kB / 415.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3216, allocations: 0.5729 MB / 416.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.322, allocations: 0.779 MB / 417.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.322, allocations: 19.44 kB / 417.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3221, allocations: 0 / 417.3 MB, free: 8.297 MB / 334.1 MB Notification: Performance of Templates: time 0.006659/0.3287, allocations: 3.935 MB / 421.2 MB, free: 4.367 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches