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.0008446/0.000845, allocations: 89.67 kB / 16.65 MB, free: 6.59 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.0008803/0.0008806, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.449/1.449, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003272, allocations: 11.94 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 50.4 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002182/0.1115, allocations: 1.705 MB / 353.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006413/0.118, allocations: 4 MB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.1183, allocations: 11.88 kB / 357.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.1188, allocations: 155.3 kB / 357.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.119, allocations: 43.7 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.1231, allocations: 1.542 MB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.1238, allocations: 474.6 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1239, allocations: 53.33 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1242, allocations: 159.3 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1244, allocations: 159.2 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.1245, allocations: 16 kB / 360.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.1266, allocations: 1.713 MB / 361.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1268, allocations: 111.5 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.127, allocations: 180.6 kB / 362.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.1289, allocations: 1.727 MB / 363.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1289, allocations: 0 / 363.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1289, allocations: 0 / 363.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1289, allocations: 0 / 363.8 MB, free: 7.684 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.001518/0.1305, allocations: 0.8375 MB / 364.7 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1305, allocations: 8.031 kB / 364.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.1306, allocations: 48.38 kB / 364.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.131, allocations: 350.2 kB / 365.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.1311, allocations: 24.33 kB / 365.1 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.1311, allocations: 31.94 kB / 365.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.1316, allocations: 306.5 kB / 365.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1316, allocations: 0 / 365.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1317, allocations: 8 kB / 365.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1317, allocations: 4 kB / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.132, allocations: 148.7 kB / 365.6 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1332, allocations: 0.6833 MB / 366.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.1338, allocations: 322.4 kB / 366.6 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.134, allocations: 112.8 kB / 366.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.134, allocations: 0 / 366.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1341, allocations: 42.56 kB / 366.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.1341, allocations: 0 / 366.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007095/0.1348, allocations: 390.5 kB / 367.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.135, allocations: 367.8 kB / 367.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.1354, allocations: 409.7 kB / 367.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1355, allocations: 37.7 kB / 367.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1356, allocations: 196.8 kB / 368.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1357, allocations: 82.8 kB / 368.2 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.1358, allocations: 61.67 kB / 368.2 MB, free: 2.953 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1359, allocations: 354.8 kB / 368.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.1362, allocations: 204.4 kB / 368.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.1366, allocations: 322.3 kB / 369.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.1372, allocations: 397.6 kB / 369.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1372, allocations: 0 / 369.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001095/0.1383, allocations: 0.6612 MB / 370.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1384, allocations: 4 kB / 370.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.1384, allocations: 11.98 kB / 370.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.1388, allocations: 126.5 kB / 370.3 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.1392, allocations: 63.91 kB / 370.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1788/0.318, allocations: 4.224 MB / 374.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.3184, allocations: 50.78 kB / 374.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3184, allocations: 9.703 kB / 374.6 MB, free: 20.16 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 (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.0002037/0.3186, allocations: 177.8 kB / 374.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3187, allocations: 38.84 kB / 374.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.3188, allocations: 49.55 kB / 374.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3188, allocations: 5.438 kB / 374.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3188, allocations: 1.688 kB / 374.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3188, allocations: 5.25 kB / 374.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3192, allocations: 344.4 kB / 375.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3192, allocations: 3.531 kB / 375.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.3195, allocations: 42.55 kB / 375.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3195, allocations: 2.328 kB / 375.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3195, allocations: 10.44 kB / 375.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3195, allocations: 5.625 kB / 375.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3195, allocations: 3.938 kB / 375.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.3202, allocations: 0.5079 MB / 375.8 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3203, allocations: 115.3 kB / 375.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.3203, allocations: 14.23 kB / 375.9 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3205, allocations: 21.73 kB / 376 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3205, allocations: 11.44 kB / 376 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3206, allocations: 10.36 kB / 376 MB, free: 19.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.3208, allocations: 274.5 kB / 376.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3208, allocations: 0 / 376.3 MB, free: 19.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001822/0.3227, allocations: 0.6476 MB / 376.9 MB, free: 19.51 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 (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.001242/0.3239, allocations: 0.6672 MB / 377.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3251, allocations: 0.9481 MB / 378.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3251, allocations: 1.25 kB / 378.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3253, allocations: 125.7 kB / 378.6 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.326, allocations: 109.1 kB / 378.7 MB, free: 18.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3272, allocations: 1.037 MB / 379.8 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3275, allocations: 0.8395 MB / 380.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.3277, allocations: 71.78 kB / 380.7 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.3278, allocations: 27.88 kB / 380.7 MB, free: 17.67 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3278, allocations: 0 / 380.7 MB, free: 17.67 MB / 302.1 MB Notification: Performance of Templates: time 0.02308/0.3509, allocations: 12.59 MB / 393.3 MB, free: 12.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches