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.001589/0.001589, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 64.12 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2362, allocations: 50.54 MB / 409.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003389/0.2396, allocations: 1.846 MB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.2452, allocations: 3.538 MB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.2455, allocations: 7.938 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.246, allocations: 131.3 kB / 415.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2461, allocations: 35.72 kB / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.2503, allocations: 1.782 MB / 417.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.2507, allocations: 303.2 kB / 417.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2508, allocations: 28.75 kB / 417.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.251, allocations: 127.5 kB / 417.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2512, allocations: 99.42 kB / 417.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.2512, allocations: 12 kB / 417.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.2515, allocations: 151.7 kB / 418 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2516, allocations: 71.69 kB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.2517, allocations: 99.34 kB / 418.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.2521, allocations: 334.9 kB / 418.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2521, allocations: 8 kB / 418.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2521, allocations: 0 / 418.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2522, allocations: 4 kB / 418.5 MB, free: 9.094 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.0007663/0.2529, allocations: 0.5685 MB / 419 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.253, allocations: 8.031 kB / 419.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.2531, allocations: 40.55 kB / 419.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.2535, allocations: 284.2 kB / 419.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2535, allocations: 12.56 kB / 419.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2535, allocations: 23.92 kB / 419.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2538, allocations: 194.1 kB / 419.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2539, allocations: 4 kB / 419.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.2539, allocations: 8 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2539, allocations: 3.938 kB / 419.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.2541, allocations: 87.88 kB / 419.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.2548, allocations: 484.5 kB / 420.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.2551, allocations: 178.5 kB / 420.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2552, allocations: 56.83 kB / 420.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2553, allocations: 4 kB / 420.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2553, allocations: 34.56 kB / 420.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2553, allocations: 0 / 420.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000444/0.2557, allocations: 224.6 kB / 420.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.2559, allocations: 290.7 kB / 420.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.2562, allocations: 288.4 kB / 421.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2562, allocations: 29.64 kB / 421.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2563, allocations: 160.4 kB / 421.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2564, allocations: 43.34 kB / 421.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.2565, allocations: 65.69 kB / 421.5 MB, free: 5.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2566, allocations: 342.8 kB / 421.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2568, allocations: 99.94 kB / 421.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.257, allocations: 180.5 kB / 422.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.2573, allocations: 209.5 kB / 422.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2573, allocations: 0 / 422.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004441/0.2578, allocations: 305.3 kB / 422.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2578, allocations: 4 kB / 422.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/0.2578, allocations: 8 kB / 422.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2579, allocations: 4 kB / 422.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2581, allocations: 43.97 kB / 422.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2582, allocations: 3.984 kB / 422.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2583, allocations: 31.62 kB / 422.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2583, allocations: 11.98 kB / 422.7 MB, free: 4.504 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.0001196/0.2584, allocations: 150 kB / 422.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2585, allocations: 27.7 kB / 422.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.2585, allocations: 26.09 kB / 422.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.2586, allocations: 7.922 kB / 422.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2586, allocations: 0 / 422.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.2586, allocations: 100.8 kB / 423 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2587, allocations: 8 kB / 423 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2588, allocations: 7.984 kB / 423.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.2589, allocations: 11.98 kB / 423.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005726/0.2594, allocations: 296.7 kB / 423.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005133/0.26, allocations: 450.2 kB / 423.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001287/0.2601, allocations: 83.56 kB / 423.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.2603, allocations: 195.1 kB / 424.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.2603, allocations: 0 / 424.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.261, allocations: 359.2 kB / 424.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of SimCode: time 0.001096/0.2622, allocations: 0.9836 MB / 425.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of Templates: time 0.007508/0.2697, allocations: 3.987 MB / 429.4 MB, free: 13.75 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