Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008165/0.0008166, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0008763/0.0008766, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.00044, allocations: 22.91 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 47.58 MB / 328.9 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003655/0.1395, allocations: 1.693 MB / 330.6 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.1519, allocations: 4.044 MB / 334.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.1525, allocations: 7.875 kB / 334.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1536, allocations: 163.3 kB / 334.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1542, allocations: 35.69 kB / 334.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008806/0.163, allocations: 1.553 MB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.1644, allocations: 470.7 kB / 336.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.1647, allocations: 45.05 kB / 336.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.1652, allocations: 155.3 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.1657, allocations: 171.1 kB / 337.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.1658, allocations: 12 kB / 337.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.17, allocations: 1.709 MB / 339 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.1703, allocations: 107.6 kB / 339.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.1706, allocations: 172.6 kB / 339.3 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.1735, allocations: 1.738 MB / 341 MB, free: 7.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1735, allocations: 0 / 341 MB, free: 7.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1736, allocations: 4 kB / 341 MB, free: 7.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1736, allocations: 0 / 341 MB, free: 7.668 MB / 286.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.002273/0.1759, allocations: 0.822 MB / 341.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1759, allocations: 12.03 kB / 341.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1761, allocations: 44.38 kB / 341.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.1767, allocations: 354.2 kB / 342.2 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1768, allocations: 20.59 kB / 342.2 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.514e-05/0.1769, allocations: 24.38 kB / 342.3 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.1777, allocations: 311 kB / 342.6 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1777, allocations: 0 / 342.6 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.1778, allocations: 8 kB / 342.6 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1778, allocations: 4 kB / 342.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.1783, allocations: 151.8 kB / 342.7 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1801, allocations: 0.6873 MB / 343.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1812, allocations: 318.3 kB / 343.7 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1816, allocations: 108.8 kB / 343.8 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1816, allocations: 4 kB / 343.8 MB, free: 4.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.1817, allocations: 42.56 kB / 343.9 MB, free: 4.582 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.1817, allocations: 0 / 343.9 MB, free: 4.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001264/0.183, allocations: 385.2 kB / 344.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.1832, allocations: 367.8 kB / 344.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.1839, allocations: 405.8 kB / 345 MB, free: 3.352 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.184, allocations: 37.64 kB / 345 MB, free: 3.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.1842, allocations: 204.7 kB / 345.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1844, allocations: 82.81 kB / 345.3 MB, free: 3.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1845, allocations: 65.67 kB / 345.4 MB, free: 2.953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.1847, allocations: 354.7 kB / 345.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.1853, allocations: 212.2 kB / 345.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.1861, allocations: 322.3 kB / 346.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1871, allocations: 401.6 kB / 346.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1871, allocations: 0 / 346.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002019/0.1892, allocations: 0.6498 MB / 347.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.1892, allocations: 11.44 kB / 347.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/0.1893, allocations: 4 kB / 347.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007857/0.1901, allocations: 130.5 kB / 347.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.1906, allocations: 67.89 kB / 347.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.196, allocations: 4.227 MB / 351.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.1964, allocations: 43.78 kB / 351.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.1965, allocations: 19.92 kB / 351.8 MB, free: 12.07 MB / 302.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.0003942/0.1969, allocations: 177.7 kB / 352 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1971, allocations: 47.38 kB / 352 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.1972, allocations: 43.73 kB / 352.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1973, allocations: 4 kB / 352.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1973, allocations: 4 kB / 352.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.1973, allocations: 3.984 kB / 352.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.198, allocations: 345.3 kB / 352.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.198, allocations: 4 kB / 352.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.1986, allocations: 51.84 kB / 352.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1986, allocations: 0 / 352.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.1986, allocations: 8 kB / 352.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1987, allocations: 0 / 352.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.1987, allocations: 3.984 kB / 352.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.1996, allocations: 0.5065 MB / 353 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1997, allocations: 116.6 kB / 353.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.1998, allocations: 15.94 kB / 353.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2001, allocations: 11.98 kB / 353.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.2002, allocations: 11.98 kB / 353.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2002, allocations: 11.98 kB / 353.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.2005, allocations: 275.1 kB / 353.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2005, allocations: 0 / 353.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002416/0.203, allocations: 0.6523 MB / 354.1 MB, free: 9.703 MB / 302.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.002166/0.2051, allocations: 0.6652 MB / 354.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.2069, allocations: 0.9616 MB / 355.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2069, allocations: 3.938 kB / 355.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2072, allocations: 120.8 kB / 355.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.2078, allocations: 101.5 kB / 355.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.2095, allocations: 1.054 MB / 357 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.21, allocations: 0.838 MB / 357.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.2102, allocations: 66.92 kB / 357.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.2103, allocations: 27.44 kB / 357.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2103, allocations: 4 kB / 357.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Templates: time 0.0261/0.2364, allocations: 12.58 MB / 370.5 MB, free: 9.129 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches