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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 197.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008261/0.0008261, allocations: 95.98 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.612e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09194, allocations: 51.47 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4337, allocations: 90.13 MB / 485.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.434, allocations: 66.59 kB / 485.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02649/0.4605, allocations: 9.982 MB / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4606, allocations: 1.125 kB / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.119e-05/0.4606, allocations: 11.94 kB / 495.3 MB, free: 11 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.0008378/0.4615, allocations: 0.5182 MB / 495.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4616, allocations: 8.031 kB / 495.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.4616, allocations: 31.62 kB / 495.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.4622, allocations: 352.5 kB / 496.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4623, allocations: 4 kB / 496.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.4623, allocations: 8 kB / 496.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001746/0.4625, allocations: 73.47 kB / 496.3 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4628, allocations: 210.4 kB / 496.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4629, allocations: 0 / 496.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4629, allocations: 0 / 496.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4629, allocations: 5.969 kB / 496.5 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.4637, allocations: 467.5 kB / 497 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.4639, allocations: 153 kB / 497.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.464, allocations: 48.03 kB / 497.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.464, allocations: 0 / 497.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4641, allocations: 37.81 kB / 497.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.4641, allocations: 4 kB / 497.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003749/0.4645, allocations: 154.7 kB / 497.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.4646, allocations: 286.7 kB / 497.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4649, allocations: 238.5 kB / 497.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.4649, allocations: 29.7 kB / 497.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4651, allocations: 145.5 kB / 498.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.4651, allocations: 50.27 kB / 498.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.4651, allocations: 0 / 498.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4653, allocations: 344.1 kB / 498.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.4654, allocations: 88.39 kB / 498.5 MB, free: 7.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.4656, allocations: 155.9 kB / 498.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4658, allocations: 115.9 kB / 498.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4658, allocations: 2.719 kB / 498.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004152/0.4663, allocations: 270.7 kB / 499.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4663, allocations: 7.984 kB / 499.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.4663, allocations: 4 kB / 499.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4663, allocations: 0 / 499.1 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4666, allocations: 51.91 kB / 499.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4666, allocations: 3.984 kB / 499.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4667, allocations: 19.8 kB / 499.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.4668, allocations: 15.19 kB / 499.2 MB, free: 7.328 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 0.0001045/0.4669, allocations: 108.9 kB / 499.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.467, allocations: 27.73 kB / 499.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.467, allocations: 28.91 kB / 499.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.467, allocations: 4 kB / 499.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.467, allocations: 0 / 499.3 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.467, allocations: 3.984 kB / 499.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.4673, allocations: 241.6 kB / 499.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4673, allocations: 2.625 kB / 499.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4675, allocations: 27.98 kB / 499.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4675, allocations: 3.984 kB / 499.6 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4676, allocations: 4 kB / 499.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4676, allocations: 0 / 499.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4676, allocations: 0 / 499.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.468, allocations: 314.4 kB / 499.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.4681, allocations: 104.7 kB / 0.4883 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.4681, allocations: 4 kB / 0.4883 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4683, allocations: 8 kB / 0.4883 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4683, allocations: 10.92 kB / 0.4883 GB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4683, allocations: 4 kB / 0.4883 GB, free: 6.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4685, allocations: 181.5 kB / 0.4885 GB, free: 6.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4685, allocations: 0.8438 kB / 0.4885 GB, free: 6.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.469, allocations: 87.69 kB / 0.4886 GB, free: 6.234 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.0003244/0.4693, allocations: 151.1 kB / 0.4887 GB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.4697, allocations: 258.7 kB / 0.489 GB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4697, allocations: 0 / 0.489 GB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.4698, allocations: 54.09 kB / 0.489 GB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.4703, allocations: 69.22 kB / 0.4891 GB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.4712, allocations: 445.7 kB / 0.4895 GB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4716, allocations: 0.7823 MB / 0.4903 GB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4718, allocations: 42.05 kB / 0.4903 GB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.4718, allocations: 23.44 kB / 0.4903 GB, free: 4.48 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4718, allocations: 0 / 0.4903 GB, free: 4.48 MB / 362.7 MB Notification: Performance of Templates: time 0.006723/0.4786, allocations: 3.286 MB / 0.4936 GB, free: 1.277 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches