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.001194/0.001194, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 64.77 kB / 306.3 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.086, allocations: 50.53 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002676/0.08872, allocations: 1.888 MB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005129/0.09386, allocations: 3.945 MB / 362.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.09398, allocations: 7.875 kB / 362.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.09436, allocations: 107.5 kB / 362.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.09447, allocations: 35.72 kB / 362.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.09728, allocations: 1.388 MB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.09759, allocations: 279.1 kB / 364.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.09771, allocations: 48.98 kB / 364.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.09788, allocations: 103.6 kB / 364.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.09802, allocations: 103.4 kB / 364.7 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.09806, allocations: 8 kB / 364.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.09831, allocations: 135.8 kB / 364.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.09841, allocations: 63.75 kB / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.09851, allocations: 95.33 kB / 365 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.09886, allocations: 326.9 kB / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09887, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.09888, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09889, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.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.0007608/0.09965, allocations: 0.5841 MB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.09969, allocations: 8.875 kB / 365.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.09976, allocations: 28.66 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1001, allocations: 292.1 kB / 366.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1001, allocations: 12.56 kB / 366.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.1001, allocations: 15.94 kB / 366.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.1005, allocations: 202.1 kB / 366.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1005, allocations: 0 / 366.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.1005, allocations: 7.938 kB / 366.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1005, allocations: 4 kB / 366.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1007, allocations: 87.88 kB / 366.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.1015, allocations: 0.4886 MB / 367 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1017, allocations: 158.5 kB / 367.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1019, allocations: 60.83 kB / 367.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1019, allocations: 112 / 367.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1019, allocations: 46.48 kB / 367.3 MB, free: 3.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.1019, allocations: 0 / 367.3 MB, free: 3.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000442/0.1024, allocations: 217.4 kB / 367.5 MB, free: 3.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1025, allocations: 286.7 kB / 367.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1028, allocations: 284.5 kB / 368 MB, free: 2.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1028, allocations: 33.7 kB / 368.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.1029, allocations: 160.4 kB / 368.2 MB, free: 2.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1029, allocations: 51.25 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.103, allocations: 57.7 kB / 368.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1032, allocations: 342.8 kB / 368.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1033, allocations: 95.94 kB / 368.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1036, allocations: 186.1 kB / 368.9 MB, free: 1.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1039, allocations: 209.2 kB / 369.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1039, allocations: 0 / 369.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004421/0.1043, allocations: 297.5 kB / 369.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1044, allocations: 4 kB / 369.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.1044, allocations: 7.984 kB / 369.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1044, allocations: 4 kB / 369.5 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.1047, allocations: 51.91 kB / 369.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1047, allocations: 0 / 369.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1048, allocations: 35.61 kB / 369.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1049, allocations: 7.984 kB / 369.5 MB, free: 1.168 MB / 302.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.000131/0.105, allocations: 153.8 kB / 369.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.105, allocations: 23.72 kB / 369.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.1051, allocations: 33.97 kB / 369.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1051, allocations: 0 / 369.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1051, allocations: 0 / 369.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1051, allocations: 3.938 kB / 369.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1054, allocations: 273.4 kB / 370 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1054, allocations: 0 / 370 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1056, allocations: 19.98 kB / 370 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1056, allocations: 4 kB / 370 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1056, allocations: 4 kB / 370 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1056, allocations: 4 kB / 370.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1056, allocations: 0 / 370.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.1061, allocations: 343 kB / 370.4 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.1062, allocations: 108.7 kB / 370.5 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1062, allocations: 8.062 kB / 370.5 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1063, allocations: 4 kB / 370.5 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1064, allocations: 15.92 kB / 370.5 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1064, allocations: 4 kB / 370.5 MB, free: 92 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1941/0.3005, allocations: 196.4 kB / 370.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3006, allocations: 0 / 370.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005975/0.3012, allocations: 70.77 kB / 370.8 MB, free: 20.72 MB / 302.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.0003803/0.3016, allocations: 141.9 kB / 370.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006313/0.3022, allocations: 282.5 kB / 371.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3023, allocations: 1.156 kB / 371.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3024, allocations: 67.06 kB / 371.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.3031, allocations: 75.17 kB / 371.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3043, allocations: 0.6216 MB / 372 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3046, allocations: 0.7699 MB / 372.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3048, allocations: 44.91 kB / 372.8 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.3049, allocations: 21.19 kB / 372.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3049, allocations: 0 / 372.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of Templates: time 0.009405/0.3143, allocations: 3.59 MB / 376.4 MB, free: 19.35 MB / 302.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