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.001304/0.001304, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 198.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2668, allocations: 50.54 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00367/0.2705, allocations: 2.013 MB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006481/0.277, allocations: 3.717 MB / 415.7 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.2772, allocations: 11.88 kB / 415.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.2777, allocations: 187.1 kB / 415.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2779, allocations: 43.56 kB / 415.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.2825, allocations: 1.959 MB / 417.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.2832, allocations: 498.8 kB / 418.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2834, allocations: 50.45 kB / 418.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.2836, allocations: 187.4 kB / 418.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.2839, allocations: 163.2 kB / 418.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.284, allocations: 24 kB / 418.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.2863, allocations: 1.799 MB / 420.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2865, allocations: 123.6 kB / 420.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2867, allocations: 158.9 kB / 420.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.2886, allocations: 1.789 MB / 422.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2887, allocations: 4 kB / 422.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2887, allocations: 0 / 422.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2887, allocations: 0 / 422.6 MB, free: 5.039 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.001711/0.2904, allocations: 0.9036 MB / 423.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2905, allocations: 8.031 kB / 423.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2906, allocations: 48.31 kB / 423.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.291, allocations: 350.2 kB / 423.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2911, allocations: 16.66 kB / 423.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.2911, allocations: 28.38 kB / 424 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.2916, allocations: 311.6 kB / 424.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2917, allocations: 0 / 424.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.2917, allocations: 8 kB / 424.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2917, allocations: 4 kB / 424.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.292, allocations: 148.7 kB / 424.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2932, allocations: 0.6716 MB / 425.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.2938, allocations: 334.3 kB / 425.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.294, allocations: 104.8 kB / 425.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2941, allocations: 4 kB / 425.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2941, allocations: 42.5 kB / 425.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.2941, allocations: 0 / 425.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007226/0.2948, allocations: 386.4 kB / 426 MB, free: 1.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.295, allocations: 363.8 kB / 426.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.2954, allocations: 409.8 kB / 426.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.2955, allocations: 33.7 kB / 426.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2956, allocations: 192.8 kB / 426.9 MB, free: 416 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.2957, allocations: 86.8 kB / 427 MB, free: 328 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2959, allocations: 101.7 kB / 427.1 MB, free: 220 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.296, allocations: 354.7 kB / 427.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.2964, allocations: 212.2 kB / 427.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.2968, allocations: 318.3 kB / 428 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.2974, allocations: 397.6 kB / 428.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2974, allocations: 0 / 428.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001117/0.2985, allocations: 0.6458 MB / 429 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2985, allocations: 8 kB / 429 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.2986, allocations: 7.984 kB / 429 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004743/0.299, allocations: 134.5 kB / 429.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.2993, allocations: 59.91 kB / 429.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.303, allocations: 4.558 MB / 433.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3032, allocations: 43.44 kB / 433.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.3032, allocations: 12 kB / 433.8 MB, free: 9.004 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.0002117/0.3034, allocations: 177.9 kB / 434 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3035, allocations: 35.53 kB / 434 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/0.3036, allocations: 43.75 kB / 434.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3036, allocations: 4 kB / 434.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3036, allocations: 0 / 434.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.3037, allocations: 116.5 kB / 434.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.3038, allocations: 16 kB / 434.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.304, allocations: 15.98 kB / 434.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.304, allocations: 19.91 kB / 434.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001195/0.3052, allocations: 495.7 kB / 434.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008238/0.3061, allocations: 0.654 MB / 435.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002257/0.3063, allocations: 143.8 kB / 435.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3066, allocations: 267.1 kB / 435.8 MB, free: 7 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.3066, allocations: 4 kB / 435.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003305/0.3099, allocations: 1.512 MB / 437.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 0.00161/0.3115, allocations: 1.323 MB / 438.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Templates: time 0.02297/0.3345, allocations: 13.31 MB / 451.9 MB, free: 6.742 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