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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009086, allocations: 88.38 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.445e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09593, allocations: 50.42 MB / 387.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.3976, allocations: 89.33 MB / 476.8 MB, free: 5.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.3978, allocations: 67.97 kB / 476.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02818/0.426, allocations: 9.924 MB / 486.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4261, allocations: 3.938 kB / 486.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.4261, allocations: 15.94 kB / 486.8 MB, free: 11.52 MB / 362.7 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.0007475/0.4269, allocations: 0.5063 MB / 487.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4269, allocations: 8.031 kB / 487.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.427, allocations: 31.72 kB / 487.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.4276, allocations: 355.6 kB / 487.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4276, allocations: 4 kB / 487.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.4277, allocations: 8 kB / 487.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/0.4278, allocations: 76.3 kB / 487.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.4281, allocations: 202.2 kB / 488 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4281, allocations: 0 / 488 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4282, allocations: 3.938 kB / 488 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4282, allocations: 0 / 488 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.429, allocations: 469.4 kB / 488.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.4293, allocations: 150.5 kB / 488.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.4294, allocations: 48.84 kB / 488.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4294, allocations: 7.984 kB / 488.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4294, allocations: 34.56 kB / 488.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4294, allocations: 0 / 488.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003234/0.4298, allocations: 155.5 kB / 488.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.4299, allocations: 290.7 kB / 489.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4302, allocations: 233.1 kB / 489.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4302, allocations: 25.7 kB / 489.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4304, allocations: 156.5 kB / 489.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.4304, allocations: 47.27 kB / 489.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.4304, allocations: 0 / 489.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4306, allocations: 342.8 kB / 489.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.4307, allocations: 87.95 kB / 490 MB, free: 8.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.4309, allocations: 164.8 kB / 490.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.4312, allocations: 107.9 kB / 490.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4312, allocations: 0 / 490.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000441/0.4317, allocations: 273.2 kB / 490.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4317, allocations: 4 kB / 490.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/0.4317, allocations: 11.98 kB / 490.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4318, allocations: 0 / 490.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.432, allocations: 55.91 kB / 490.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4321, allocations: 0 / 490.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4322, allocations: 23.77 kB / 490.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4322, allocations: 8 kB / 490.6 MB, free: 7.371 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.382e-05/0.4323, allocations: 117 kB / 490.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.4324, allocations: 31.56 kB / 490.7 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.4324, allocations: 22.09 kB / 490.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4325, allocations: 4 kB / 490.8 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4325, allocations: 4.109 kB / 490.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4325, allocations: 3.938 kB / 490.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.4327, allocations: 238.1 kB / 491 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4328, allocations: 0 / 491 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.4329, allocations: 27.94 kB / 491 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.433, allocations: 0 / 491 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.433, allocations: 4 kB / 491 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.433, allocations: 4 kB / 491 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.433, allocations: 0 / 491 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.4334, allocations: 311 kB / 491.4 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.4335, allocations: 100.8 kB / 491.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4335, allocations: 12.05 kB / 491.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4336, allocations: 4 kB / 491.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.4337, allocations: 7.984 kB / 491.5 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4337, allocations: 4 kB / 491.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.4339, allocations: 176.6 kB / 491.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4339, allocations: 0 / 491.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.4343, allocations: 95.77 kB / 491.7 MB, free: 6.145 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.4346, allocations: 155.1 kB / 491.9 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.4349, allocations: 260.2 kB / 492.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4349, allocations: 0 / 492.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.435, allocations: 51.97 kB / 492.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.4355, allocations: 59.5 kB / 492.3 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.4364, allocations: 434 kB / 492.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4369, allocations: 0.7833 MB / 493.5 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.437, allocations: 46.05 kB / 493.5 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.4371, allocations: 19.44 kB / 493.5 MB, free: 4.285 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4371, allocations: 3.938 kB / 493.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of Templates: time 0.007201/0.4443, allocations: 3.303 MB / 496.8 MB, free: 1.008 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches