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.001083/0.001084, allocations: 109.4 kB / 18.34 MB, free: 4.828 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.001005/0.001005, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.355/1.355, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.00124/0.00124, allocations: 55.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09125, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003044/0.09433, allocations: 2.001 MB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005764/0.1001, allocations: 3.719 MB / 334.4 MB, free: 14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1003, allocations: 11.88 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.1009, allocations: 183.1 kB / 334.6 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.101, allocations: 43.58 kB / 334.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.1054, allocations: 1.924 MB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.106, allocations: 0.4987 MB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1061, allocations: 41.08 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1063, allocations: 175.4 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1066, allocations: 175.1 kB / 337.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.1066, allocations: 24 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.1086, allocations: 1.787 MB / 339.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1088, allocations: 115.6 kB / 339.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.109, allocations: 170.9 kB / 339.6 MB, free: 8.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.1106, allocations: 1.77 MB / 341.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1106, allocations: 4 kB / 341.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1106, allocations: 0 / 341.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1106, allocations: 3.938 kB / 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.001438/0.1121, allocations: 0.8996 MB / 342.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1121, allocations: 12.03 kB / 342.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.1122, allocations: 48.38 kB / 342.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1127, allocations: 350.2 kB / 342.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1127, allocations: 16.66 kB / 342.6 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.1128, allocations: 28.36 kB / 342.7 MB, free: 5.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1133, allocations: 311 kB / 343 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1133, allocations: 0 / 343 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1133, allocations: 4 kB / 343 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1133, allocations: 4 kB / 343 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.1136, allocations: 155.8 kB / 343.1 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1148, allocations: 0.6639 MB / 343.8 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.1155, allocations: 330.3 kB / 344.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1156, allocations: 104.8 kB / 344.2 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1157, allocations: 7.984 kB / 344.2 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1157, allocations: 38.94 kB / 344.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.1157, allocations: 0 / 344.3 MB, free: 3.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007245/0.1165, allocations: 392.8 kB / 344.7 MB, free: 3.543 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.1166, allocations: 363.8 kB / 345 MB, free: 3.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.117, allocations: 409.9 kB / 345.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.1171, allocations: 37.64 kB / 345.4 MB, free: 2.652 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1172, allocations: 192.8 kB / 345.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.1173, allocations: 82.8 kB / 345.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1175, allocations: 101.7 kB / 345.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1176, allocations: 358.7 kB / 346.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.118, allocations: 208.4 kB / 346.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1184, allocations: 322.1 kB / 346.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.119, allocations: 393.6 kB / 347.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.119, allocations: 0 / 347.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001081/0.1201, allocations: 0.6495 MB / 347.7 MB, free: 312 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1201, allocations: 4 kB / 347.7 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.1201, allocations: 11.98 kB / 347.7 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004304/0.1206, allocations: 134.5 kB / 347.9 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1208, allocations: 59.91 kB / 347.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.1244, allocations: 4.554 MB / 352.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1246, allocations: 47.55 kB / 352.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.1247, allocations: 16 kB / 352.5 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.0002012/0.1249, allocations: 181.8 kB / 352.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.125, allocations: 35.53 kB / 352.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.125, allocations: 47.69 kB / 352.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.125, allocations: 4 kB / 352.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1251, allocations: 3.938 kB / 352.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1251, allocations: 0 / 352.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.1255, allocations: 353.2 kB / 353.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1255, allocations: 4 kB / 353.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.1258, allocations: 43.97 kB / 353.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1258, allocations: 3.938 kB / 353.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1258, allocations: 8 kB / 353.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1258, allocations: 3.938 kB / 353.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1258, allocations: 0 / 353.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.1265, allocations: 0.5026 MB / 353.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.1266, allocations: 124.5 kB / 353.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.1266, allocations: 11.94 kB / 353.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1268, allocations: 15.98 kB / 353.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.1269, allocations: 7.984 kB / 353.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1269, allocations: 8 kB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.1272, allocations: 275.1 kB / 354.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1272, allocations: 0 / 354.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001817/0.129, allocations: 0.6406 MB / 354.8 MB, free: 8.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.001317/0.1303, allocations: 0.678 MB / 355.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.1318, allocations: 0.9532 MB / 356.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1318, allocations: 0 / 356.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.132, allocations: 116.8 kB / 356.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.1326, allocations: 125.2 kB / 356.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.134, allocations: 0.8841 MB / 357.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1345, allocations: 0.838 MB / 358.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1347, allocations: 70.89 kB / 358.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.1348, allocations: 35.44 kB / 358.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1348, allocations: 0 / 358.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of Templates: time 0.021/0.1558, allocations: 12.84 MB / 371.3 MB, free: 8.016 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 cvode -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