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.001215/0.001215, allocations: 104.6 kB / 17.16 MB, free: 6.32 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.001269/0.001269, allocations: 190 kB / 18.07 MB, free: 5.414 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.632/1.632, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001524/0.001523, allocations: 55.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003366/0.1219, allocations: 2.036 MB / 328.6 MB, free: 2.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007086/0.1291, allocations: 4.102 MB / 332.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.1293, allocations: 11.88 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.1299, allocations: 163.3 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1301, allocations: 39.64 kB / 332.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.1349, allocations: 1.548 MB / 334.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.1355, allocations: 470.7 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1357, allocations: 49.06 kB / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1359, allocations: 155.3 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1361, allocations: 171.1 kB / 335.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.1362, allocations: 15.94 kB / 335.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.1385, allocations: 1.709 MB / 337 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1387, allocations: 107.6 kB / 337.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1388, allocations: 158.9 kB / 337.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.1407, allocations: 1.738 MB / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1407, allocations: 0 / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1407, allocations: 0 / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1408, allocations: 0 / 339 MB, free: 8.398 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.001905/0.1427, allocations: 0.8958 MB / 339.9 MB, free: 7.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1427, allocations: 8.031 kB / 339.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1428, allocations: 48.38 kB / 340 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1433, allocations: 354.2 kB / 340.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1434, allocations: 16.66 kB / 340.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.1434, allocations: 28.38 kB / 340.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.1439, allocations: 315 kB / 340.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.144, allocations: 0 / 340.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.144, allocations: 8 kB / 340.7 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.144, allocations: 7.984 kB / 340.7 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.1443, allocations: 151.8 kB / 340.8 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1455, allocations: 0.6756 MB / 341.5 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.1462, allocations: 318.4 kB / 341.8 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1464, allocations: 108.8 kB / 341.9 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1464, allocations: 0 / 341.9 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1465, allocations: 42.56 kB / 342 MB, free: 5.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 9.61e-07/0.1465, allocations: 0 / 342 MB, free: 5.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007782/0.1473, allocations: 381.2 kB / 342.4 MB, free: 4.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002848/0.1476, allocations: 363.8 kB / 342.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.1482, allocations: 413.8 kB / 343.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1483, allocations: 29.7 kB / 343.1 MB, free: 3.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1485, allocations: 196.8 kB / 343.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.1486, allocations: 82.8 kB / 343.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1487, allocations: 109.5 kB / 343.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1489, allocations: 358.7 kB / 343.9 MB, free: 3.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.1492, allocations: 204.4 kB / 344.1 MB, free: 3.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.1497, allocations: 318.4 kB / 344.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.1504, allocations: 401.5 kB / 344.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1504, allocations: 0 / 344.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001126/0.1515, allocations: 0.6573 MB / 345.4 MB, free: 1.609 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1515, allocations: 4 kB / 345.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.1516, allocations: 8 kB / 345.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.152, allocations: 130.4 kB / 345.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1523, allocations: 63.89 kB / 345.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.1564, allocations: 4.231 MB / 349.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1566, allocations: 51.45 kB / 349.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1567, allocations: 12 kB / 349.9 MB, free: 12.7 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.0002801/0.157, allocations: 177.8 kB / 350.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.157, allocations: 39.47 kB / 350.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.1571, allocations: 43.75 kB / 350.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1571, allocations: 4 kB / 350.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1571, allocations: 0 / 350.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1571, allocations: 3.984 kB / 350.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1576, allocations: 349.3 kB / 350.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1576, allocations: 0 / 350.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.1579, allocations: 47.84 kB / 350.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1579, allocations: 0 / 350.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.1579, allocations: 19.98 kB / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1579, allocations: 0 / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1579, allocations: 0 / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007993/0.1587, allocations: 0.5025 MB / 351.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1588, allocations: 112.6 kB / 351.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.1589, allocations: 12 kB / 351.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.159, allocations: 11.98 kB / 351.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.1591, allocations: 19.97 kB / 351.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1591, allocations: 4 kB / 351.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.1594, allocations: 275.1 kB / 351.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1594, allocations: 0 / 351.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00236/0.1618, allocations: 0.6483 MB / 352.2 MB, free: 10.36 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.001391/0.1632, allocations: 0.6672 MB / 352.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.1647, allocations: 0.9501 MB / 353.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1647, allocations: 4 kB / 353.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.1649, allocations: 128.7 kB / 353.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1655, allocations: 105.7 kB / 354 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1671, allocations: 0.9976 MB / 355 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1675, allocations: 0.8458 MB / 355.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.1677, allocations: 70.86 kB / 355.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1678, allocations: 27.44 kB / 356 MB, free: 6.426 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1678, allocations: 4 kB / 356 MB, free: 6.422 MB / 302.1 MB Notification: Performance of Templates: time 0.02165/0.1895, allocations: 12.64 MB / 368.6 MB, free: 9.77 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