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.001542/0.001542, allocations: 108.4 kB / 18.36 MB, free: 4.633 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.001774/0.001774, allocations: 191 kB / 19.29 MB, free: 3.703 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.434/1.434, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001217/0.001217, allocations: 60.3 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.09066, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002991/0.0937, allocations: 1.997 MB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.09914, allocations: 3.719 MB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.09933, allocations: 15.88 kB / 334.5 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.09982, allocations: 179 kB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.09994, allocations: 43.59 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.104, allocations: 1.927 MB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.1045, allocations: 0.4909 MB / 337.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1047, allocations: 49.08 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1049, allocations: 183.3 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1051, allocations: 171.2 kB / 337.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1051, allocations: 24 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1072, allocations: 1.783 MB / 339.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1074, allocations: 119.6 kB / 339.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1076, allocations: 170.9 kB / 339.6 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.1093, allocations: 1.766 MB / 341.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1094, allocations: 4 kB / 341.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1094, allocations: 0 / 341.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1094, allocations: 0 / 341.3 MB, free: 7.082 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.001426/0.1108, allocations: 0.8997 MB / 342.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1108, allocations: 8.031 kB / 342.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.1109, allocations: 44.38 kB / 342.3 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.1114, allocations: 354.2 kB / 342.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1114, allocations: 16.66 kB / 342.7 MB, free: 5.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1115, allocations: 28.31 kB / 342.7 MB, free: 5.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1119, allocations: 311 kB / 343 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1119, allocations: 0 / 343 MB, free: 5.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.112, allocations: 12 kB / 343 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.112, allocations: 4 kB / 343 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.1123, allocations: 147.8 kB / 343.1 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1134, allocations: 0.6716 MB / 343.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.114, allocations: 326.5 kB / 344.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1142, allocations: 108.8 kB / 344.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.1142, allocations: 0 / 344.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1142, allocations: 38.56 kB / 344.3 MB, free: 3.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.1142, allocations: 4 kB / 344.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006589/0.1149, allocations: 381.1 kB / 344.7 MB, free: 3.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.1151, allocations: 371.8 kB / 345 MB, free: 3.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004058/0.1155, allocations: 405.8 kB / 345.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1155, allocations: 33.7 kB / 345.4 MB, free: 2.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1157, allocations: 196.7 kB / 345.6 MB, free: 2.469 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.1157, allocations: 86.8 kB / 345.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1159, allocations: 97.69 kB / 345.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.116, allocations: 362.7 kB / 346.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.1163, allocations: 204.4 kB / 346.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1167, allocations: 318.2 kB / 346.7 MB, free: 1.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.1173, allocations: 397.6 kB / 347.1 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1173, allocations: 4 kB / 347.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001049/0.1184, allocations: 0.6496 MB / 347.7 MB, free: 316 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1184, allocations: 7.938 kB / 347.7 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.1184, allocations: 11.97 kB / 347.7 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.1189, allocations: 134.5 kB / 347.9 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.1192, allocations: 59.91 kB / 347.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.1225, allocations: 4.558 MB / 352.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1228, allocations: 51.64 kB / 352.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.1228, allocations: 12 kB / 352.6 MB, free: 11.05 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.0001934/0.123, allocations: 173.7 kB / 352.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.1231, allocations: 35.53 kB / 352.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.1232, allocations: 47.75 kB / 352.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1232, allocations: 0 / 352.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1232, allocations: 7.938 kB / 352.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1232, allocations: 4 kB / 352.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.1236, allocations: 353.3 kB / 353.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1236, allocations: 0 / 353.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.1239, allocations: 47.86 kB / 353.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1239, allocations: 3.984 kB / 353.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1239, allocations: 12 kB / 353.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1239, allocations: 3.938 kB / 353.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1239, allocations: 0 / 353.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.1246, allocations: 0.4987 MB / 353.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1247, allocations: 116.5 kB / 353.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.1247, allocations: 19.92 kB / 353.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1249, allocations: 11.98 kB / 353.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.125, allocations: 11.98 kB / 353.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.125, allocations: 8 kB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.1253, allocations: 275.1 kB / 354.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1253, allocations: 3.938 kB / 354.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001643/0.1269, allocations: 0.6445 MB / 354.8 MB, free: 8.695 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.001244/0.1282, allocations: 0.6618 MB / 355.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.1295, allocations: 0.9493 MB / 356.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1295, allocations: 0 / 356.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1298, allocations: 124.7 kB / 356.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.1303, allocations: 125 kB / 356.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1317, allocations: 0.888 MB / 357.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1321, allocations: 0.838 MB / 358.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.1323, allocations: 74.91 kB / 358.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.1324, allocations: 27.44 kB / 358.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1324, allocations: 0 / 358.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of Templates: time 0.02062/0.153, allocations: 12.83 MB / 371.3 MB, free: 8.023 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches