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.001786/0.001786, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.001932/0.001932, allocations: 157.2 kB / 24.48 MB, free: 3.465 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.423/1.423, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.001605/0.001605, allocations: 46.89 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.09061, allocations: 52.15 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003257/0.09386, allocations: 1.922 MB / 373.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006233/0.1001, allocations: 3.449 MB / 376.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1003, allocations: 19.81 kB / 376.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.1008, allocations: 187.1 kB / 377.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.1009, allocations: 55.5 kB / 377.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.1054, allocations: 1.924 MB / 379.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.1061, allocations: 0.4949 MB / 379.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1062, allocations: 33.28 kB / 379.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.1065, allocations: 195.3 kB / 379.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.1067, allocations: 167.1 kB / 380 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.1068, allocations: 24 kB / 380 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.1095, allocations: 1.858 MB / 381.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1096, allocations: 127.5 kB / 382 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1098, allocations: 123.2 kB / 382.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.1118, allocations: 1.804 MB / 383.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1118, allocations: 0 / 383.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1118, allocations: 0 / 383.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1118, allocations: 4 kB / 383.9 MB, free: 10.93 MB / 350.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.001577/0.1134, allocations: 0.8467 MB / 384.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1134, allocations: 8.922 kB / 384.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1135, allocations: 44.66 kB / 384.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.114, allocations: 295.3 kB / 385.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.114, allocations: 20.22 kB / 385.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.1141, allocations: 24 kB / 385.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.1148, allocations: 0.6058 MB / 385.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1148, allocations: 0 / 385.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.1148, allocations: 8 kB / 385.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1148, allocations: 0 / 385.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.1151, allocations: 152.7 kB / 385.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1162, allocations: 0.5622 MB / 386.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.1169, allocations: 322.3 kB / 386.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.1171, allocations: 101.2 kB / 386.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1171, allocations: 3.984 kB / 386.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1171, allocations: 42.5 kB / 386.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1171, allocations: 0 / 386.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007629/0.1179, allocations: 388 kB / 387.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.1181, allocations: 371.8 kB / 387.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.1185, allocations: 401.8 kB / 388.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1186, allocations: 37.7 kB / 388.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1187, allocations: 200.9 kB / 388.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.1188, allocations: 83.28 kB / 388.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1189, allocations: 97.69 kB / 388.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1191, allocations: 358.7 kB / 388.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.1195, allocations: 208.4 kB / 389 MB, free: 5.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.1201, allocations: 0.6156 MB / 389.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.1207, allocations: 396.8 kB / 390 MB, free: 4.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1207, allocations: 0 / 390 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001165/0.1219, allocations: 0.6565 MB / 390.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1219, allocations: 4 kB / 390.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.1219, allocations: 11.98 kB / 390.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/0.1224, allocations: 130.5 kB / 390.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1227, allocations: 59.91 kB / 390.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.1266, allocations: 4.187 MB / 395.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1268, allocations: 47.61 kB / 395.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.1268, allocations: 15.94 kB / 395.1 MB, free: 14.9 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.0002195/0.127, allocations: 178 kB / 395.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.1271, allocations: 39.72 kB / 395.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/0.1272, allocations: 47.84 kB / 395.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1272, allocations: 0 / 395.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1272, allocations: 0 / 395.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1272, allocations: 0 / 395.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.1276, allocations: 265 kB / 395.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1276, allocations: 4 kB / 395.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.1279, allocations: 31.98 kB / 395.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1279, allocations: 8 kB / 395.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.1279, allocations: 11.98 kB / 395.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1279, allocations: 0 / 395.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1279, allocations: 0 / 395.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.1286, allocations: 0.5105 MB / 396.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1287, allocations: 35.7 kB / 396.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.1287, allocations: 15.92 kB / 396.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1289, allocations: 15.98 kB / 396.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.129, allocations: 19.91 kB / 396.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.129, allocations: 4 kB / 396.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1293, allocations: 275.1 kB / 396.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 396.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001809/0.1311, allocations: 0.652 MB / 397.2 MB, free: 12.75 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.001372/0.1325, allocations: 0.6659 MB / 397.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.1339, allocations: 0.9182 MB / 398.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1339, allocations: 3.938 kB / 398.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1341, allocations: 122.9 kB / 398.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.1347, allocations: 124.8 kB / 399.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1363, allocations: 0.9192 MB / 400 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1365, allocations: 237 kB / 400.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1367, allocations: 70.92 kB / 400.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.1368, allocations: 32.44 kB / 400.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1368, allocations: 0 / 400.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of Templates: time 0.02282/0.1596, allocations: 13.31 MB / 413.6 MB, free: 12.34 MB / 382.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.799625596031547]