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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3766, allocations: 50.54 MB / 409.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003056/0.3797, allocations: 1.849 MB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00592/0.3856, allocations: 3.542 MB / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.3858, allocations: 7.938 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.3863, allocations: 131.3 kB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.3864, allocations: 31.72 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004027/0.3905, allocations: 1.783 MB / 416.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.3908, allocations: 307.2 kB / 416.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.391, allocations: 32.69 kB / 416.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.3912, allocations: 115.6 kB / 417 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.3914, allocations: 103.4 kB / 417.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.3915, allocations: 12 kB / 417.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.3918, allocations: 147.7 kB / 417.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3919, allocations: 79.73 kB / 417.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.392, allocations: 95.36 kB / 417.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3925, allocations: 334.9 kB / 417.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3925, allocations: 0 / 417.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3925, allocations: 0 / 417.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3925, allocations: 0 / 417.8 MB, free: 9.008 MB / 334.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.0009924/0.3935, allocations: 0.5841 MB / 418.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3936, allocations: 11.97 kB / 418.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3937, allocations: 32.56 kB / 418.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.3941, allocations: 280.2 kB / 418.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3942, allocations: 12.56 kB / 418.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.3942, allocations: 23.92 kB / 418.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.3946, allocations: 198.1 kB / 418.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3946, allocations: 3.984 kB / 418.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.3946, allocations: 7.938 kB / 418.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3947, allocations: 8 kB / 418.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3949, allocations: 83.88 kB / 419 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.3957, allocations: 488.5 kB / 419.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.396, allocations: 174.4 kB / 419.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3961, allocations: 56.83 kB / 419.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3962, allocations: 0 / 419.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3962, allocations: 34.56 kB / 419.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.3962, allocations: 0 / 419.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004856/0.3967, allocations: 221.2 kB / 420 MB, free: 6.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.3969, allocations: 290.8 kB / 420.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3972, allocations: 288.4 kB / 420.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3972, allocations: 37.69 kB / 420.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3973, allocations: 152.4 kB / 420.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.3974, allocations: 47.36 kB / 420.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.3975, allocations: 65.67 kB / 420.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3976, allocations: 338.8 kB / 421.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3978, allocations: 95.94 kB / 421.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3981, allocations: 184.5 kB / 421.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3984, allocations: 217.4 kB / 421.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3984, allocations: 0 / 421.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004267/0.3988, allocations: 301.4 kB / 421.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3988, allocations: 8 kB / 421.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.3989, allocations: 7.984 kB / 421.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3989, allocations: 0 / 421.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3992, allocations: 51.97 kB / 422 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3992, allocations: 3.938 kB / 422 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3993, allocations: 31.61 kB / 422 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3993, allocations: 8 kB / 422 MB, free: 4.402 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.0001435/0.3995, allocations: 142 kB / 422.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.3995, allocations: 27.92 kB / 422.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.3996, allocations: 41.84 kB / 422.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3996, allocations: 0 / 422.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3996, allocations: 0 / 422.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3996, allocations: 7.922 kB / 422.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.3999, allocations: 257.5 kB / 422.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3999, allocations: 4 kB / 422.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4001, allocations: 27.92 kB / 422.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.4001, allocations: 4 kB / 422.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4001, allocations: 3.984 kB / 422.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4001, allocations: 0 / 422.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4001, allocations: 8 kB / 422.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.4006, allocations: 342.3 kB / 422.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.4007, allocations: 104.7 kB / 423 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4007, allocations: 4 kB / 423 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4009, allocations: 12.05 kB / 423 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4009, allocations: 11.92 kB / 423 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4009, allocations: 8 kB / 423 MB, free: 3.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.4011, allocations: 199.1 kB / 423.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4011, allocations: 0 / 423.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003504/0.4015, allocations: 68 kB / 423.3 MB, free: 3.062 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.000226/0.4017, allocations: 139.2 kB / 423.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004676/0.4022, allocations: 288.8 kB / 423.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4022, allocations: 4 kB / 423.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4023, allocations: 63.91 kB / 423.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4028, allocations: 75.52 kB / 423.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.4038, allocations: 0.5439 MB / 424.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.4041, allocations: 0.7675 MB / 425.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.4042, allocations: 41.81 kB / 425.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4043, allocations: 27.44 kB / 425.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4043, allocations: 0 / 425.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of Templates: time 0.007475/0.4118, allocations: 3.77 MB / 429 MB, free: 13.3 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches