Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 115.1 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 51.92 kB / 374.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.118, allocations: 53.33 MB / 427.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003915/0.1219, allocations: 2.027 MB / 429.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006912/0.1288, allocations: 3.744 MB / 433.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1292, allocations: 19.75 kB / 433.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.1299, allocations: 183.1 kB / 433.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1301, allocations: 51.58 kB / 433.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005501/0.1356, allocations: 1.938 MB / 435.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.1365, allocations: 0.4949 MB / 435.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1367, allocations: 37.08 kB / 436 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1371, allocations: 183.3 kB / 436.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.1374, allocations: 171.2 kB / 436.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.1375, allocations: 27.94 kB / 436.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.1406, allocations: 1.822 MB / 438.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1409, allocations: 123.5 kB / 438.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1411, allocations: 162.9 kB / 438.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.1436, allocations: 1.788 MB / 440.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1436, allocations: 0 / 440.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1436, allocations: 0 / 440.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1436, allocations: 4 kB / 440.2 MB, free: 7.551 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.001834/0.1455, allocations: 0.9104 MB / 441.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1455, allocations: 12.03 kB / 441.2 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1456, allocations: 52.61 kB / 441.2 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.1461, allocations: 350.5 kB / 441.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1461, allocations: 16.66 kB / 441.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.1462, allocations: 36.25 kB / 441.6 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1467, allocations: 311 kB / 441.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1467, allocations: 0 / 441.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1468, allocations: 12 kB / 441.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1468, allocations: 0 / 441.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1471, allocations: 148.7 kB / 442.1 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1483, allocations: 0.6718 MB / 442.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.149, allocations: 318.4 kB / 443 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1492, allocations: 104.8 kB / 443.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1492, allocations: 0 / 443.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1492, allocations: 38.56 kB / 443.2 MB, free: 4.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 9.32e-07/0.1492, allocations: 0 / 443.2 MB, free: 4.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007661/0.15, allocations: 392.3 kB / 443.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002504/0.1503, allocations: 367.8 kB / 443.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.1507, allocations: 413.8 kB / 444.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1508, allocations: 29.7 kB / 444.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1509, allocations: 196.9 kB / 444.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.151, allocations: 87.27 kB / 444.6 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1512, allocations: 101.7 kB / 444.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1514, allocations: 354.7 kB / 445.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.1517, allocations: 212.2 kB / 445.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.1522, allocations: 318.4 kB / 445.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.1528, allocations: 397.5 kB / 446 MB, free: 1.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1528, allocations: 0 / 446 MB, free: 1.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001185/0.154, allocations: 0.6578 MB / 446.7 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.154, allocations: 4 kB / 446.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.154, allocations: 4 kB / 446.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.1545, allocations: 126.5 kB / 446.8 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.1548, allocations: 71.89 kB / 446.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/0.3838, allocations: 4.543 MB / 451.4 MB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.3841, allocations: 50.77 kB / 451.4 MB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.3841, allocations: 10.22 kB / 451.5 MB, free: 19.67 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.0002215/0.3843, allocations: 183.8 kB / 451.6 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.3844, allocations: 37.97 kB / 451.7 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.289e-05/0.3845, allocations: 45.03 kB / 451.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3845, allocations: 3.031 kB / 451.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.3845, allocations: 0 / 451.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3845, allocations: 1.5 kB / 451.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3849, allocations: 357.7 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3849, allocations: 0 / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.3851, allocations: 48.44 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3851, allocations: 3.5 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3852, allocations: 8.281 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3852, allocations: 0.5938 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3852, allocations: 3.969 kB / 452.1 MB, free: 19.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.3858, allocations: 0.5003 MB / 452.6 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.3858, allocations: 114.2 kB / 452.7 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.3859, allocations: 17.33 kB / 452.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.386, allocations: 13.27 kB / 452.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.3861, allocations: 23.7 kB / 452.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3861, allocations: 5.062 kB / 452.8 MB, free: 19.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.3863, allocations: 270 kB / 453.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3863, allocations: 0 / 453.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002027/0.3884, allocations: 0.6561 MB / 453.7 MB, free: 19.01 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.001383/0.3898, allocations: 0.6633 MB / 454.4 MB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3911, allocations: 0.9214 MB / 455.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3911, allocations: 3.5 kB / 455.3 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3913, allocations: 112.4 kB / 455.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.3919, allocations: 120.8 kB / 455.5 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3934, allocations: 0.9543 MB / 456.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3938, allocations: 0.8435 MB / 457.3 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.3939, allocations: 27.28 kB / 457.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3939, allocations: 0 / 457.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of Templates: time 0.02216/0.4161, allocations: 12.14 MB / 469.5 MB, free: 14.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.502935823984444]