Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001054, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2134, allocations: 50.54 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002797/0.2162, allocations: 2.008 MB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.2215, allocations: 3.729 MB / 415.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2217, allocations: 11.88 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.2221, allocations: 179.1 kB / 415.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.2222, allocations: 43.59 kB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.2257, allocations: 1.942 MB / 417.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.2262, allocations: 0.4949 MB / 418.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2264, allocations: 49.06 kB / 418.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2266, allocations: 183.4 kB / 418.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2268, allocations: 175.1 kB / 418.7 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.2269, allocations: 24 kB / 418.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.2289, allocations: 1.795 MB / 420.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.229, allocations: 119.6 kB / 420.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2292, allocations: 174.8 kB / 420.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.2307, allocations: 1.777 MB / 422.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2308, allocations: 0 / 422.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2308, allocations: 0 / 422.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2308, allocations: 0 / 422.6 MB, free: 4.898 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.001437/0.2322, allocations: 0.9035 MB / 423.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2323, allocations: 8.031 kB / 423.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.2324, allocations: 48.38 kB / 423.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.2328, allocations: 362.2 kB / 423.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2329, allocations: 20.64 kB / 423.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.2329, allocations: 28.38 kB / 424 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.2334, allocations: 303.6 kB / 424.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2334, allocations: 4 kB / 424.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.2334, allocations: 8 kB / 424.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2335, allocations: 4 kB / 424.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.2337, allocations: 140.7 kB / 424.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2349, allocations: 0.6794 MB / 425.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.2355, allocations: 325.2 kB / 425.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2357, allocations: 104.8 kB / 425.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2357, allocations: 0 / 425.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2357, allocations: 42.94 kB / 425.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.2357, allocations: 3.938 kB / 425.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006713/0.2364, allocations: 376.5 kB / 425.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.2366, allocations: 371.8 kB / 426.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.237, allocations: 405.8 kB / 426.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.237, allocations: 33.7 kB / 426.7 MB, free: 476 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2372, allocations: 204.7 kB / 426.9 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.2372, allocations: 78.81 kB / 427 MB, free: 188 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.2374, allocations: 101.7 kB / 427.1 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2375, allocations: 358.7 kB / 427.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.2378, allocations: 208.2 kB / 427.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.2382, allocations: 322.4 kB / 428 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.2388, allocations: 389.6 kB / 428.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2388, allocations: 0 / 428.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001074/0.2399, allocations: 0.6536 MB / 429 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2399, allocations: 4 kB / 429 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.24, allocations: 15.98 kB / 429 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.2404, allocations: 118.5 kB / 429.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.2407, allocations: 67.89 kB / 429.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/0.2441, allocations: 4.558 MB / 433.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.2443, allocations: 59.38 kB / 433.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2443, allocations: 8 kB / 433.8 MB, free: 8.855 MB / 350.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.000179/0.2445, allocations: 173.8 kB / 434 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.2446, allocations: 43.52 kB / 434 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.2447, allocations: 47.81 kB / 434.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2447, allocations: 0 / 434.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2447, allocations: 3.938 kB / 434.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.2448, allocations: 116.5 kB / 434.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.2449, allocations: 11.98 kB / 434.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2451, allocations: 15.98 kB / 434.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.2451, allocations: 11.98 kB / 434.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001172/0.2463, allocations: 0.4886 MB / 434.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000774/0.2471, allocations: 0.6551 MB / 435.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002047/0.2473, allocations: 135.9 kB / 435.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.2475, allocations: 275.1 kB / 435.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of Backend: time 4.3e-07/0.2476, allocations: 0 / 435.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00278/0.2503, allocations: 1.497 MB / 437.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.001423/0.2518, allocations: 1.334 MB / 438.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of Templates: time 0.02042/0.2722, allocations: 13.31 MB / 451.9 MB, free: 6.605 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches