Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001742/0.001742, allocations: 94.94 kB / 16.3 MB, free: 5.531 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.001602/0.001602, allocations: 178 kB / 17.19 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 11.94 kB / 300.7 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 50.41 MB / 351.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002135/0.1167, allocations: 1.647 MB / 352.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.1223, allocations: 3.506 MB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1226, allocations: 11.88 kB / 356.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1233, allocations: 223.3 kB / 356.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1234, allocations: 43.81 kB / 356.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.127, allocations: 1.451 MB / 358 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1275, allocations: 339.3 kB / 358.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1276, allocations: 41.36 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.1279, allocations: 163.4 kB / 358.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1281, allocations: 147.3 kB / 358.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.1281, allocations: 12 kB / 358.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1298, allocations: 1.342 MB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.13, allocations: 99.7 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.1301, allocations: 89.45 kB / 360.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1316, allocations: 1.497 MB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1316, allocations: 0 / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1316, allocations: 0 / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1316, allocations: 0 / 361.7 MB, free: 9.188 MB / 302.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.001562/0.1332, allocations: 0.8412 MB / 362.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1332, allocations: 8.031 kB / 362.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.1333, allocations: 47.44 kB / 362.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.1338, allocations: 333.2 kB / 362.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1338, allocations: 16.28 kB / 363 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.1339, allocations: 31.84 kB / 363 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.1344, allocations: 303.1 kB / 363.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1344, allocations: 7.984 kB / 363.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.1344, allocations: 11.95 kB / 363.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1344, allocations: 4 kB / 363.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1347, allocations: 144.7 kB / 363.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1359, allocations: 0.6758 MB / 364.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.1365, allocations: 323.2 kB / 364.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1365, allocations: 192 / 364.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1366, allocations: 42.75 kB / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.1366, allocations: 0 / 364.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.000677/0.1372, allocations: 396.4 kB / 364.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.1374, allocations: 367.8 kB / 365.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.1378, allocations: 405.8 kB / 365.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1379, allocations: 33.7 kB / 365.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.138, allocations: 192.8 kB / 365.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1381, allocations: 82.81 kB / 365.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.1381, allocations: 4 kB / 365.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1382, allocations: 362.7 kB / 366.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.1385, allocations: 204.5 kB / 366.5 MB, free: 4.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.1389, allocations: 318.3 kB / 366.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.1393, allocations: 249.4 kB / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1393, allocations: 0 / 367 MB, free: 3.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001039/0.1404, allocations: 0.6535 MB / 367.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1404, allocations: 6.656 kB / 367.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.1404, allocations: 7.984 kB / 367.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1409, allocations: 130.4 kB / 367.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1412, allocations: 67.89 kB / 367.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1743/0.3155, allocations: 4.252 MB / 372.2 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.3159, allocations: 50.78 kB / 372.2 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.3159, allocations: 11.27 kB / 372.2 MB, free: 21.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.3162, allocations: 173.5 kB / 372.4 MB, free: 20.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.3162, allocations: 37.62 kB / 372.4 MB, free: 20.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.3163, allocations: 46.61 kB / 372.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3163, allocations: 2.844 kB / 372.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3163, allocations: 6.984 kB / 372.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3164, allocations: 5.344 kB / 372.5 MB, free: 20.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.3168, allocations: 342.2 kB / 372.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3168, allocations: 1.469 kB / 372.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.3171, allocations: 45.36 kB / 372.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3171, allocations: 3.625 kB / 372.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.3171, allocations: 10.17 kB / 372.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3172, allocations: 2.172 kB / 372.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3172, allocations: 0.8438 kB / 372.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.3179, allocations: 0.5181 MB / 373.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.3179, allocations: 111.8 kB / 373.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.318, allocations: 11.22 kB / 373.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3182, allocations: 14.81 kB / 373.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3183, allocations: 22.42 kB / 373.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3183, allocations: 4.812 kB / 373.6 MB, free: 20.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.3186, allocations: 270 kB / 373.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 3.828 kB / 373.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002274/0.3209, allocations: 0.6468 MB / 374.5 MB, free: 20.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.3223, allocations: 0.6718 MB / 375.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.3236, allocations: 0.9442 MB / 376.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3237, allocations: 1.375 kB / 376.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.3239, allocations: 126.8 kB / 376.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.3245, allocations: 99.2 kB / 376.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.326, allocations: 1.008 MB / 377.3 MB, free: 19.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3264, allocations: 0.8491 MB / 378.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.3266, allocations: 67.98 kB / 378.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.3267, allocations: 27.34 kB / 378.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3267, allocations: 3.906 kB / 378.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of Templates: time 0.02318/0.3499, allocations: 12.45 MB / 390.7 MB, free: 14.11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches