Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 105.3 kB / 17.74 MB, free: 5.336 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.001169/0.001169, allocations: 196.2 kB / 18.68 MB, free: 4.41 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009797/0.0009797, allocations: 43.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.223, allocations: 49.45 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002713/0.2257, allocations: 2.011 MB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.2309, allocations: 3.674 MB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2311, allocations: 11.88 kB / 407.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.2316, allocations: 179.1 kB / 407.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2317, allocations: 51.56 kB / 407.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.2354, allocations: 1.937 MB / 409.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.2359, allocations: 0.4948 MB / 409.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.236, allocations: 45.06 kB / 409.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2362, allocations: 183.4 kB / 410 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2364, allocations: 171.1 kB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.2365, allocations: 20 kB / 410.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.2385, allocations: 1.787 MB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.2386, allocations: 123.6 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2388, allocations: 162.9 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.2403, allocations: 1.773 MB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2403, allocations: 0 / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2403, allocations: 0 / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2403, allocations: 4 kB / 414 MB, free: 12.27 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00135/0.2417, allocations: 0.8958 MB / 414.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2417, allocations: 12.03 kB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.2418, allocations: 44.38 kB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.2423, allocations: 358.2 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2423, allocations: 16.22 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.24e-05/0.2424, allocations: 27.91 kB / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.2428, allocations: 307.1 kB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2428, allocations: 4 kB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2429, allocations: 8 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2429, allocations: 0 / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.2431, allocations: 152.7 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2443, allocations: 0.6678 MB / 416.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.2449, allocations: 326.2 kB / 416.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2451, allocations: 108.8 kB / 416.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2451, allocations: 4 kB / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2451, allocations: 38.94 kB / 417 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2451, allocations: 4 kB / 417 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006745/0.2458, allocations: 379.7 kB / 417.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.246, allocations: 367.8 kB / 417.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.2463, allocations: 409.7 kB / 418.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.2464, allocations: 37.7 kB / 418.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2465, allocations: 196.7 kB / 418.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.2466, allocations: 78.81 kB / 418.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2467, allocations: 101.7 kB / 418.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2469, allocations: 354.8 kB / 418.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.2472, allocations: 208.4 kB / 419 MB, free: 6.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.2476, allocations: 322.3 kB / 419.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.2481, allocations: 393.6 kB / 419.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2481, allocations: 0 / 419.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001048/0.2492, allocations: 0.6496 MB / 420.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2492, allocations: 8 kB / 420.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.2492, allocations: 4 kB / 420.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.2497, allocations: 130.5 kB / 420.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.25, allocations: 67.89 kB / 420.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.2533, allocations: 4.558 MB / 425.2 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2535, allocations: 55.45 kB / 425.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2536, allocations: 8 kB / 425.2 MB, free: 240 kB / 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.2538, allocations: 181.6 kB / 425.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.2538, allocations: 35.53 kB / 425.4 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.254, allocations: 47.77 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.254, allocations: 3.984 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.254, allocations: 8.062 kB / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.254, allocations: 108.6 kB / 425.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.2541, allocations: 15.98 kB / 425.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2543, allocations: 15.92 kB / 425.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2544, allocations: 11.98 kB / 425.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001157/0.2555, allocations: 496.3 kB / 426.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007725/0.2563, allocations: 0.6529 MB / 426.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002079/0.2565, allocations: 143.8 kB / 426.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.2568, allocations: 267.1 kB / 427.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2568, allocations: 3.938 kB / 427.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.2595, allocations: 1.497 MB / 428.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of SimCode: time 0.001418/0.2609, allocations: 1.33 MB / 430 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01963/0.2806, allocations: 13.23 MB / 443.2 MB, free: 14.07 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches