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.00171/0.00171, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 211.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 4.853/4.853, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4729, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.005711/0.4787, allocations: 1.846 MB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.4899, allocations: 3.542 MB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.4904, allocations: 11.88 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.4912, allocations: 127.4 kB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.4917, allocations: 35.66 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008789/0.5005, allocations: 1.783 MB / 417.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.5014, allocations: 303.2 kB / 417.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.5016, allocations: 32.75 kB / 417.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.502, allocations: 119.5 kB / 417.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.5024, allocations: 103.4 kB / 417.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.5025, allocations: 16 kB / 417.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.503, allocations: 147.7 kB / 418 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.5032, allocations: 75.75 kB / 418 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.5034, allocations: 99.34 kB / 418.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.5042, allocations: 338.9 kB / 418.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5042, allocations: 0 / 418.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5042, allocations: 0 / 418.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.5043, allocations: 0 / 418.5 MB, free: 9.039 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.001441/0.5057, allocations: 0.5802 MB / 419 MB, free: 8.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5058, allocations: 8.031 kB / 419.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.5059, allocations: 32.56 kB / 419.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.5067, allocations: 284.2 kB / 419.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.5067, allocations: 12.56 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.5068, allocations: 19.94 kB / 419.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.5074, allocations: 206.1 kB / 419.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5074, allocations: 3.984 kB / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.5075, allocations: 4 kB / 419.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.5075, allocations: 7.938 kB / 419.6 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.5079, allocations: 83.88 kB / 419.7 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.5093, allocations: 492.5 kB / 420.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.5099, allocations: 170.2 kB / 420.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.5101, allocations: 56.83 kB / 420.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.5102, allocations: 4 kB / 420.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.5102, allocations: 34.56 kB / 420.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.5103, allocations: 0 / 420.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009036/0.5112, allocations: 225.3 kB / 420.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.5114, allocations: 286.7 kB / 420.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.5119, allocations: 288.4 kB / 421.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.512, allocations: 29.7 kB / 421.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.5121, allocations: 156.4 kB / 421.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.5122, allocations: 51.34 kB / 421.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.5124, allocations: 61.69 kB / 421.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5126, allocations: 338.8 kB / 421.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.5129, allocations: 99.88 kB / 421.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.5133, allocations: 184.4 kB / 422.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.5139, allocations: 213.5 kB / 422.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.514, allocations: 0 / 422.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008548/0.5148, allocations: 301.4 kB / 422.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.5149, allocations: 4 kB / 422.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.5149, allocations: 4 kB / 422.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.515, allocations: 0 / 422.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.5154, allocations: 59.91 kB / 422.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5155, allocations: 0 / 422.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.5157, allocations: 31.61 kB / 422.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.5157, allocations: 8 kB / 422.7 MB, free: 4.445 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.0002533/0.516, allocations: 150 kB / 422.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.5161, allocations: 27.7 kB / 422.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.5162, allocations: 30.09 kB / 422.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5162, allocations: 3.938 kB / 422.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5162, allocations: 4 kB / 422.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5163, allocations: 7.922 kB / 422.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.5168, allocations: 253.6 kB / 423.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5168, allocations: 4 kB / 423.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.5171, allocations: 23.98 kB / 423.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.5171, allocations: 4 kB / 423.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.5172, allocations: 3.984 kB / 423.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5172, allocations: 4 kB / 423.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5172, allocations: 4 kB / 423.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.518, allocations: 343 kB / 423.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5181, allocations: 104.7 kB / 423.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.5182, allocations: 4 kB / 423.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5185, allocations: 12.05 kB / 423.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.5185, allocations: 11.92 kB / 423.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5186, allocations: 4 kB / 423.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.5189, allocations: 199.1 kB / 423.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5189, allocations: 4 kB / 423.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006899/0.5196, allocations: 68 kB / 424 MB, free: 3.105 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.0004168/0.52, allocations: 143.1 kB / 424.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007797/0.5208, allocations: 292.8 kB / 424.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5209, allocations: 4 kB / 424.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.5211, allocations: 55.97 kB / 424.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.522, allocations: 78.52 kB / 424.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.5238, allocations: 0.5807 MB / 425.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.5244, allocations: 0.7675 MB / 425.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5245, allocations: 23.44 kB / 425.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5245, allocations: 3.938 kB / 425.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of Templates: time 0.01273/0.5373, allocations: 3.932 MB / 429.8 MB, free: 13.15 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/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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches