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.001086/0.001086, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003545/0.306, allocations: 2.02 MB / 411.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.3126, allocations: 3.725 MB / 415 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.3131, allocations: 11.88 kB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.3137, allocations: 175.1 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.314, allocations: 47.58 kB / 415.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.3187, allocations: 1.954 MB / 417.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.3194, allocations: 0.491 MB / 417.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3196, allocations: 49.06 kB / 417.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.3198, allocations: 175.4 kB / 417.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3201, allocations: 175.1 kB / 418 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.3201, allocations: 28 kB / 418.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.3223, allocations: 1.791 MB / 419.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.3225, allocations: 123.6 kB / 420 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3226, allocations: 170.9 kB / 420.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3243, allocations: 1.777 MB / 421.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3243, allocations: 0 / 421.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3243, allocations: 0 / 421.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3243, allocations: 0 / 421.9 MB, free: 4.879 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.001459/0.3258, allocations: 0.9074 MB / 422.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3258, allocations: 8.031 kB / 422.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.3259, allocations: 48.38 kB / 422.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3263, allocations: 350.2 kB / 423.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.3264, allocations: 20.66 kB / 423.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.3265, allocations: 24.38 kB / 423.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.3269, allocations: 311.6 kB / 423.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3269, allocations: 0 / 423.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.327, allocations: 7.984 kB / 423.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.327, allocations: 4 kB / 423.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3272, allocations: 148.7 kB / 423.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3284, allocations: 0.6794 MB / 424.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.329, allocations: 325.7 kB / 424.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3292, allocations: 105.2 kB / 424.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3292, allocations: 4 kB / 424.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3292, allocations: 42.48 kB / 424.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.3292, allocations: 0 / 424.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006979/0.3299, allocations: 374.1 kB / 425.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002363/0.3302, allocations: 371.8 kB / 425.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.3307, allocations: 405.8 kB / 426 MB, free: 496 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.3308, allocations: 29.7 kB / 426 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3309, allocations: 204.7 kB / 426.2 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.331, allocations: 82.8 kB / 426.3 MB, free: 168 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.3312, allocations: 97.69 kB / 426.4 MB, free: 64 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3314, allocations: 362.7 kB / 426.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3318, allocations: 204.2 kB / 427 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.3322, allocations: 318.3 kB / 427.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.3328, allocations: 397.6 kB / 427.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3328, allocations: 7.938 kB / 427.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001124/0.3339, allocations: 0.6497 MB / 428.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.334, allocations: 4 kB / 428.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.334, allocations: 15.98 kB / 428.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.3345, allocations: 122.5 kB / 428.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3348, allocations: 59.91 kB / 428.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.3385, allocations: 4.562 MB / 433.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3386, allocations: 47.45 kB / 433.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.3387, allocations: 12 kB / 433.1 MB, free: 8.84 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.0001972/0.3389, allocations: 177.7 kB / 433.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.339, allocations: 43.62 kB / 433.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.339, allocations: 39.75 kB / 433.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.339, allocations: 4 kB / 433.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3391, allocations: 3.938 kB / 433.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3391, allocations: 0 / 433.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3394, allocations: 357.3 kB / 433.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3394, allocations: 0 / 433.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3397, allocations: 35.97 kB / 433.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3397, allocations: 4 kB / 433.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.3398, allocations: 8 kB / 433.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3398, allocations: 7.938 kB / 433.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3398, allocations: 4 kB / 433.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.3404, allocations: 0.506 MB / 434.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.3405, allocations: 108.6 kB / 434.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3406, allocations: 19.92 kB / 434.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.3407, allocations: 15.98 kB / 434.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3408, allocations: 7.984 kB / 434.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3408, allocations: 12 kB / 434.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.3411, allocations: 275.1 kB / 434.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3411, allocations: 0 / 434.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001932/0.343, allocations: 0.6561 MB / 435.4 MB, free: 6.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/0.3444, allocations: 0.6769 MB / 436.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.3457, allocations: 0.9452 MB / 437 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3458, allocations: 0 / 437 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.346, allocations: 123.9 kB / 437.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.3466, allocations: 110.1 kB / 437.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3479, allocations: 0.8879 MB / 438.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3483, allocations: 0.8419 MB / 439 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.3485, allocations: 70.92 kB / 439.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.3486, allocations: 39.31 kB / 439.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3486, allocations: 0 / 439.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Templates: time 0.02062/0.3692, allocations: 12.99 MB / 452.1 MB, free: 5.691 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches