Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 110.9 kB / 17.09 MB, free: 5.984 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.001313/0.001313, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.254/1.254, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1898/0.1898, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.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.001418/0.001418, allocations: 77.39 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09374, allocations: 57.77 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003576/0.09735, allocations: 2.65 MB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007258/0.1046, allocations: 4.401 MB / 0.4955 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.1051, allocations: 23.75 kB / 0.4955 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.1058, allocations: 350.3 kB / 0.4958 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1062, allocations: 95.14 kB / 0.4959 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.1115, allocations: 2.62 MB / 0.4985 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.1129, allocations: 1.178 MB / 0.4996 GB, free: 412 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1131, allocations: 85.72 kB / 0.4997 GB, free: 320 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006678/0.1138, allocations: 438.6 kB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.1145, allocations: 410.2 kB / 0.5005 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1147, allocations: 56 kB / 0.5006 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.1172, allocations: 1.819 MB / 0.5023 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.1175, allocations: 311 kB / 0.5026 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.118, allocations: 397.4 kB / 0.503 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.1201, allocations: 2.287 MB / 0.5053 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1202, allocations: 0 / 0.5053 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1202, allocations: 0 / 0.5053 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.1202, allocations: 0 / 0.5053 GB, free: 10.62 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002628/0.1228, allocations: 1.464 MB / 0.5067 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1229, allocations: 15.98 kB / 0.5067 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1231, allocations: 103.6 kB / 0.5068 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.1238, allocations: 0.5783 MB / 0.5074 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1238, allocations: 41.38 kB / 0.5074 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.1239, allocations: 72.27 kB / 0.5075 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.1248, allocations: 0.6967 MB / 0.5082 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1248, allocations: 0 / 0.5082 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.1249, allocations: 16 kB / 0.5082 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.1249, allocations: 8 kB / 0.5082 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.1255, allocations: 371.7 kB / 0.5085 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.1276, allocations: 1.355 MB / 0.5099 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.1289, allocations: 0.8428 MB / 0.5107 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.1293, allocations: 290 kB / 0.511 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.1294, allocations: 8.438 kB / 0.511 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1294, allocations: 47.19 kB / 0.511 GB, free: 4.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.915e-06/0.1294, allocations: 0 / 0.511 GB, free: 4.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001422/0.1308, allocations: 0.9615 MB / 0.5119 GB, free: 3.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002704/0.1311, allocations: 0.6687 MB / 0.5126 GB, free: 2.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/0.132, allocations: 0.8496 MB / 0.5134 GB, free: 1.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.1321, allocations: 49.69 kB / 0.5135 GB, free: 1.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.1324, allocations: 357.4 kB / 0.5138 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.1325, allocations: 220.8 kB / 0.514 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.1328, allocations: 254.6 kB / 0.5143 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.133, allocations: 418.7 kB / 0.5147 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008103/0.1338, allocations: 0.5846 MB / 0.5152 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.1347, allocations: 0.8378 MB / 0.5161 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.1361, allocations: 1.117 MB / 0.5171 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1361, allocations: 3.984 kB / 0.5172 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002678/0.1388, allocations: 1.921 MB / 0.519 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1388, allocations: 4 kB / 0.519 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/0.1389, allocations: 23.98 kB / 0.5191 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.1402, allocations: 0.4939 MB / 0.5195 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.1407, allocations: 143.7 kB / 0.5197 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.201/0.3417, allocations: 18.19 MB / 0.5374 GB, free: 30.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.3422, allocations: 128.2 kB / 0.5376 GB, free: 30.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.3423, allocations: 28.89 kB / 0.5376 GB, free: 30.29 MB / 414.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0003457/0.3426, allocations: 284.6 kB / 0.5379 GB, free: 30.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3428, allocations: 88.77 kB / 0.5379 GB, free: 30.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.343, allocations: 105.9 kB / 0.538 GB, free: 30.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.343, allocations: 2.906 kB / 0.538 GB, free: 30.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.343, allocations: 5.344 kB / 0.5381 GB, free: 30.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.3431, allocations: 163.2 kB / 0.5382 GB, free: 30.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3432, allocations: 33.11 kB / 0.5382 GB, free: 30.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.3435, allocations: 33.33 kB / 0.5383 GB, free: 30.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.3436, allocations: 30.73 kB / 0.5383 GB, free: 30.06 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002898/0.3465, allocations: 1.223 MB / 0.5395 GB, free: 29.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001646/0.3482, allocations: 1.459 MB / 0.5409 GB, free: 29.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004655/0.3487, allocations: 382.9 kB / 0.5413 GB, free: 29.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005598/0.3492, allocations: 0.5375 MB / 0.5418 GB, free: 29.59 MB / 414.1 MB Notification: Performance of Backend: time 3.91e-07/0.3492, allocations: 1.406 kB / 0.5418 GB, free: 29.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004406/0.3536, allocations: 3.404 MB / 0.5451 GB, free: 27.75 MB / 414.1 MB Notification: Performance of SimCode: time 0.002446/0.3561, allocations: 2.569 MB / 0.5476 GB, free: 26.4 MB / 414.1 MB Notification: Performance of Templates: time 0.02802/0.3841, allocations: 21.61 MB / 0.5687 GB, free: 16.18 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches