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.001061/0.001061, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001096/0.001096, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 51.86 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2331, allocations: 49.43 MB / 401.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.0027/0.2358, allocations: 1.825 MB / 403.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004984/0.2408, allocations: 3.501 MB / 406.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2409, allocations: 11.88 kB / 406.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.2413, allocations: 131.4 kB / 406.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.2414, allocations: 35.66 kB / 406.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.245, allocations: 1.78 MB / 408.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.2454, allocations: 307.1 kB / 409 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2455, allocations: 28.75 kB / 409 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2456, allocations: 115.5 kB / 409.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2458, allocations: 103.4 kB / 409.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.2458, allocations: 12 kB / 409.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.2461, allocations: 147.7 kB / 409.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2462, allocations: 67.81 kB / 409.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2464, allocations: 107.3 kB / 409.6 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.2467, allocations: 338.9 kB / 409.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2467, allocations: 0 / 409.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2468, allocations: 0 / 409.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2468, allocations: 0 / 409.9 MB, free: 0.5469 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.0008222/0.2476, allocations: 0.5726 MB / 410.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2476, allocations: 19.89 kB / 410.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.2477, allocations: 32.5 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.2481, allocations: 291.9 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2482, allocations: 8 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.2482, allocations: 16 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.2485, allocations: 198.1 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2486, allocations: 0 / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.2486, allocations: 4 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.2486, allocations: 11.92 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2488, allocations: 82.19 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.2496, allocations: 0.4886 MB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2499, allocations: 170.4 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.25, allocations: 56.94 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.25, allocations: 3.938 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2501, allocations: 42.56 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2501, allocations: 0 / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004595/0.2505, allocations: 225.4 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.2507, allocations: 286.8 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2509, allocations: 284.5 kB / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.251, allocations: 41.62 kB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2511, allocations: 148.5 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.2511, allocations: 55.27 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.2512, allocations: 61.67 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2514, allocations: 338.8 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2515, allocations: 99.94 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.2518, allocations: 176.5 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2521, allocations: 205.5 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2521, allocations: 3.938 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004458/0.2526, allocations: 305.2 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2526, allocations: 10.64 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.2526, allocations: 4 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2526, allocations: 0 / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.2529, allocations: 47.91 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2529, allocations: 8 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2531, allocations: 31.7 kB / 414.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2531, allocations: 4 kB / 414.1 MB, free: 11.94 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.0001307/0.2532, allocations: 149.8 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.2533, allocations: 27.62 kB / 414.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.2533, allocations: 25.97 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2533, allocations: 7.938 kB / 414.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2534, allocations: 0 / 414.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.2534, allocations: 100.8 kB / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.2535, allocations: 8 kB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2536, allocations: 11.98 kB / 414.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2536, allocations: 11.94 kB / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006082/0.2543, allocations: 300.7 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00052/0.2548, allocations: 461.7 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001271/0.2549, allocations: 72 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.2551, allocations: 195.1 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.2551, allocations: 3.938 kB / 415.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.2558, allocations: 351.3 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of SimCode: time 0.001031/0.2569, allocations: 0.9907 MB / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of Templates: time 0.007306/0.2642, allocations: 3.986 MB / 420.8 MB, free: 5.18 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