Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 107 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2265, allocations: 49.43 MB / 401.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002605/0.2291, allocations: 1.839 MB / 403.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004912/0.234, allocations: 3.501 MB / 406.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2342, allocations: 3.938 kB / 406.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.2346, allocations: 135.3 kB / 406.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.2347, allocations: 39.64 kB / 406.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.2381, allocations: 1.777 MB / 408.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.2384, allocations: 295.2 kB / 409 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2385, allocations: 36.73 kB / 409 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2387, allocations: 115.5 kB / 409.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.2388, allocations: 107.4 kB / 409.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.2389, allocations: 12 kB / 409.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.2391, allocations: 139.7 kB / 409.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2393, allocations: 71.8 kB / 409.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.2394, allocations: 99.28 kB / 409.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2397, allocations: 346.5 kB / 409.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2398, allocations: 4 kB / 409.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2398, allocations: 4 kB / 409.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2398, allocations: 0 / 409.9 MB, free: 0.5039 MB / 318.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.0007582/0.2405, allocations: 0.5838 MB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2406, allocations: 11.97 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2407, allocations: 32.75 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.241, allocations: 284.3 kB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2411, allocations: 8 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.2411, allocations: 19.92 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.2414, allocations: 203.6 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.2414, allocations: 0 / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.2414, allocations: 8 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2415, allocations: 3.938 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2416, allocations: 87.94 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.2424, allocations: 488.3 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2427, allocations: 170.4 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2428, allocations: 56.83 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2428, allocations: 4 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2428, allocations: 38.59 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2428, allocations: 0 / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004355/0.2433, allocations: 229.3 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.2434, allocations: 286.7 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2437, allocations: 284.5 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.2437, allocations: 37.62 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.813e-05/0.2438, allocations: 152.6 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.2439, allocations: 51.55 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.244, allocations: 65.67 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2441, allocations: 342.8 kB / 413.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2443, allocations: 99.88 kB / 413.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.2445, allocations: 172.5 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2448, allocations: 209.5 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2448, allocations: 4 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004538/0.2453, allocations: 309.3 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2453, allocations: 6.656 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.2453, allocations: 4 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2453, allocations: 3.984 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2456, allocations: 55.89 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2456, allocations: 0 / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2458, allocations: 23.83 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2458, allocations: 8 kB / 414.2 MB, free: 11.9 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.0001299/0.2459, allocations: 157.7 kB / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.246, allocations: 27.81 kB / 414.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.246, allocations: 29.97 kB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.246, allocations: 3.938 kB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2461, allocations: 4 kB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.2461, allocations: 100.9 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2462, allocations: 8 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2463, allocations: 11.98 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2463, allocations: 11.98 kB / 414.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005925/0.2469, allocations: 300.7 kB / 414.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005119/0.2475, allocations: 454.4 kB / 415.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001302/0.2476, allocations: 76.09 kB / 415.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.2478, allocations: 199 kB / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of Backend: time 4.31e-07/0.2478, allocations: 0 / 415.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.2485, allocations: 355.1 kB / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of SimCode: time 0.001023/0.2496, allocations: 1 MB / 416.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of Templates: time 0.00716/0.2567, allocations: 3.978 MB / 420.8 MB, free: 5.125 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches