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.001312/0.001312, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 210.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2128, allocations: 50.55 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002625/0.2154, allocations: 1.837 MB / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.2204, allocations: 3.546 MB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.2205, allocations: 7.938 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2209, allocations: 127.4 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.221, allocations: 35.66 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.2244, allocations: 1.779 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.2247, allocations: 303.2 kB / 417.6 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2248, allocations: 40.62 kB / 417.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.225, allocations: 115.5 kB / 417.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2252, allocations: 107.4 kB / 417.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.2252, allocations: 12 kB / 417.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.2255, allocations: 151.7 kB / 418 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.2256, allocations: 67.75 kB / 418 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.2257, allocations: 99.34 kB / 418.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2261, allocations: 342.5 kB / 418.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2261, allocations: 0 / 418.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2261, allocations: 3.984 kB / 418.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2261, allocations: 0 / 418.5 MB, free: 9.074 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.0007932/0.2269, allocations: 0.5897 MB / 419.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2269, allocations: 8.031 kB / 419.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.227, allocations: 32.75 kB / 419.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.2274, allocations: 280.5 kB / 419.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2274, allocations: 20.48 kB / 419.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.2274, allocations: 23.88 kB / 419.4 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.2277, allocations: 198.1 kB / 419.6 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2278, allocations: 0 / 419.6 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2278, allocations: 7.938 kB / 419.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2278, allocations: 4 kB / 419.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.228, allocations: 83.88 kB / 419.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.2287, allocations: 0.4888 MB / 420.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.229, allocations: 170 kB / 420.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2291, allocations: 56.83 kB / 420.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2291, allocations: 4.094 kB / 420.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2292, allocations: 46.5 kB / 420.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2292, allocations: 0 / 420.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004223/0.2296, allocations: 213.4 kB / 420.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.2297, allocations: 294.7 kB / 421 MB, free: 6.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.23, allocations: 276.6 kB / 421.2 MB, free: 6.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.23, allocations: 29.7 kB / 421.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2301, allocations: 160.5 kB / 421.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2302, allocations: 51.58 kB / 421.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.2303, allocations: 61.7 kB / 421.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2304, allocations: 346.7 kB / 421.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2306, allocations: 99.88 kB / 422 MB, free: 5.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2308, allocations: 184.4 kB / 422.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.2311, allocations: 205.5 kB / 422.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2311, allocations: 4 kB / 422.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004372/0.2316, allocations: 301.5 kB / 422.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.2316, allocations: 4 kB / 422.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.2316, allocations: 7.984 kB / 422.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2316, allocations: 0 / 422.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.2319, allocations: 55.97 kB / 422.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2319, allocations: 0 / 422.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.232, allocations: 35.7 kB / 422.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.232, allocations: 4 kB / 422.8 MB, free: 4.465 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.0001291/0.2322, allocations: 150 kB / 422.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.2322, allocations: 27.92 kB / 422.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.2323, allocations: 33.91 kB / 423 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2323, allocations: 0 / 423 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2323, allocations: 4 kB / 423 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.2324, allocations: 104.9 kB / 423.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.2324, allocations: 8 kB / 423.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2325, allocations: 4 kB / 423.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2326, allocations: 11.98 kB / 423.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005815/0.2332, allocations: 308.7 kB / 423.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004994/0.2337, allocations: 442.4 kB / 423.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000128/0.2338, allocations: 79.38 kB / 423.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.234, allocations: 195.1 kB / 424.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Backend: time 6.11e-07/0.234, allocations: 3.938 kB / 424.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.2348, allocations: 355.1 kB / 424.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of SimCode: time 0.001067/0.2358, allocations: 1.004 MB / 425.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Templates: time 0.007809/0.2437, allocations: 3.98 MB / 429.4 MB, free: 13.69 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