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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 122.5 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 190.6 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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=5004,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=5004,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 43.92 kB / 366.8 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09732, allocations: 52.15 MB / 418.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003622/0.1009, allocations: 2.015 MB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.107, allocations: 3.698 MB / 424.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.1072, allocations: 11.88 kB / 424.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.1077, allocations: 179.1 kB / 424.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.1078, allocations: 51.58 kB / 424.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.1122, allocations: 1.935 MB / 426.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006506/0.1129, allocations: 0.4987 MB / 427.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.113, allocations: 25.09 kB / 427.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1132, allocations: 183.4 kB / 427.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.1135, allocations: 179.1 kB / 427.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.1136, allocations: 24 kB / 427.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.116, allocations: 1.799 MB / 429.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1162, allocations: 127.5 kB / 429.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1164, allocations: 166.9 kB / 429.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.1184, allocations: 1.777 MB / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1184, allocations: 0 / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1184, allocations: 0 / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1184, allocations: 0 / 431.6 MB, free: 15.4 MB / 366.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.00173/0.1201, allocations: 0.9144 MB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1201, allocations: 8.031 kB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1202, allocations: 48.66 kB / 432.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1207, allocations: 362.5 kB / 432.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1207, allocations: 16.22 kB / 432.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.1208, allocations: 27.94 kB / 433 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.1213, allocations: 307.1 kB / 433.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1213, allocations: 0 / 433.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1213, allocations: 8 kB / 433.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1213, allocations: 8 kB / 433.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.1216, allocations: 140.7 kB / 433.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.1228, allocations: 0.6718 MB / 434.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.1235, allocations: 332.6 kB / 434.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1237, allocations: 106.7 kB / 434.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1237, allocations: 0 / 434.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1237, allocations: 42.56 kB / 434.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.1237, allocations: 0 / 434.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007557/0.1245, allocations: 385.5 kB / 434.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.1247, allocations: 367.8 kB / 435.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.1252, allocations: 409.8 kB / 435.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1252, allocations: 37.64 kB / 435.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1254, allocations: 200.9 kB / 435.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.1254, allocations: 91.27 kB / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1256, allocations: 97.67 kB / 436.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1257, allocations: 362.8 kB / 436.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.1261, allocations: 200.4 kB / 436.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.1265, allocations: 322.3 kB / 437 MB, free: 9.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.1271, allocations: 397.6 kB / 437.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1271, allocations: 0 / 437.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001162/0.1283, allocations: 0.6537 MB / 438 MB, free: 8.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1283, allocations: 4 kB / 438 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.1283, allocations: 4 kB / 438 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.1288, allocations: 130.5 kB / 438.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.1291, allocations: 63.89 kB / 438.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/0.133, allocations: 4.558 MB / 442.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1333, allocations: 55.58 kB / 442.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.1333, allocations: 12.16 kB / 442.8 MB, free: 3.332 MB / 366.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.0002197/0.1335, allocations: 187.1 kB / 443 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.1336, allocations: 39.72 kB / 443.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.1337, allocations: 55.67 kB / 443.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1337, allocations: 0 / 443.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1337, allocations: 0 / 443.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1337, allocations: 0 / 443.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1341, allocations: 345.4 kB / 443.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1341, allocations: 4 kB / 443.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.1344, allocations: 43.91 kB / 443.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1344, allocations: 3.938 kB / 443.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.1344, allocations: 11.98 kB / 443.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1344, allocations: 4 kB / 443.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1344, allocations: 0 / 443.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.1351, allocations: 0.5004 MB / 444 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1352, allocations: 120.8 kB / 444.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.1353, allocations: 15.98 kB / 444.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.1355, allocations: 8 kB / 444.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1355, allocations: 19.97 kB / 444.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1355, allocations: 4 kB / 444.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.1358, allocations: 271.1 kB / 444.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1358, allocations: 0 / 444.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001827/0.1376, allocations: 0.6558 MB / 445.1 MB, free: 0.9805 MB / 366.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.001526/0.1392, allocations: 0.6687 MB / 445.8 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.165/0.3042, allocations: 0.9206 MB / 446.7 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3042, allocations: 2.344 kB / 446.7 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3044, allocations: 112.7 kB / 446.8 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.305, allocations: 117.4 kB / 446.9 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.3063, allocations: 0.9562 MB / 447.9 MB, free: 28.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3065, allocations: 0.8485 MB / 448.7 MB, free: 27.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.3066, allocations: 28.53 kB / 448.8 MB, free: 27.92 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3066, allocations: 0 / 448.8 MB, free: 27.92 MB / 366.1 MB Notification: Performance of Templates: time 0.0189/0.3255, allocations: 12.08 MB / 460.8 MB, free: 25.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.034403025871143]