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.001357/0.001357, allocations: 105.5 kB / 20.43 MB, free: 1.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.001396/0.001396, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001661/0.001661, allocations: 47.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2576, allocations: 52.16 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003218/0.2608, allocations: 2.048 MB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006415/0.2672, allocations: 3.702 MB / 428.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2674, allocations: 23.75 kB / 428.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.2679, allocations: 191.1 kB / 429.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2681, allocations: 43.58 kB / 429.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.2728, allocations: 1.929 MB / 431 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.2735, allocations: 0.4987 MB / 431.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2736, allocations: 37.27 kB / 431.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2739, allocations: 183.4 kB / 431.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.2741, allocations: 167.2 kB / 431.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2741, allocations: 31.94 kB / 431.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.2768, allocations: 1.908 MB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.277, allocations: 123.6 kB / 434 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2772, allocations: 170.9 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.2792, allocations: 1.792 MB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2792, allocations: 0 / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2792, allocations: 0 / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2792, allocations: 0 / 435.9 MB, free: 1.828 MB / 334.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.001664/0.2809, allocations: 0.8468 MB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2809, allocations: 8.031 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.281, allocations: 48.66 kB / 436.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.2815, allocations: 295.3 kB / 437.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2816, allocations: 24.22 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.2816, allocations: 27.94 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.2821, allocations: 307.9 kB / 437.5 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2821, allocations: 0 / 437.5 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2822, allocations: 8 kB / 437.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2822, allocations: 4 kB / 437.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.2825, allocations: 140.7 kB / 437.6 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.2838, allocations: 0.6436 MB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.2844, allocations: 320 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2846, allocations: 108.8 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2847, allocations: 4 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.2847, allocations: 38.55 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.2847, allocations: 0 / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007937/0.2855, allocations: 383 kB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.2857, allocations: 371.8 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.2862, allocations: 405.8 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.2862, allocations: 41.7 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2864, allocations: 200.9 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.2865, allocations: 83.28 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.2867, allocations: 97.69 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2868, allocations: 354.8 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.2872, allocations: 208.4 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.2877, allocations: 318 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.2883, allocations: 400.7 kB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2883, allocations: 0 / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001249/0.2896, allocations: 0.6565 MB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2896, allocations: 7.281 kB / 442.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.2896, allocations: 11.98 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.2901, allocations: 122.5 kB / 442.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.2904, allocations: 63.91 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/0.2944, allocations: 4.253 MB / 446.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2947, allocations: 51.64 kB / 446.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.2947, allocations: 12 kB / 446.7 MB, free: 6.355 MB / 350.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.0002404/0.2949, allocations: 177.7 kB / 446.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.295, allocations: 43.81 kB / 446.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.2951, allocations: 51.78 kB / 447 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2951, allocations: 0 / 447 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2951, allocations: 0 / 447 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2951, allocations: 4 kB / 447 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.2955, allocations: 316.4 kB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2955, allocations: 4 kB / 447.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.2958, allocations: 43.92 kB / 447.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.2958, allocations: 3.938 kB / 447.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2958, allocations: 15.98 kB / 447.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2959, allocations: 4 kB / 447.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2959, allocations: 0 / 447.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.2966, allocations: 0.5021 MB / 447.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.2967, allocations: 39.59 kB / 447.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.2967, allocations: 16.09 kB / 447.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2969, allocations: 19.92 kB / 447.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.297, allocations: 7.984 kB / 447.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.297, allocations: 11.98 kB / 447.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003085/0.2973, allocations: 275.1 kB / 448.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2973, allocations: 0 / 448.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002041/0.2993, allocations: 0.6519 MB / 448.9 MB, free: 4.121 MB / 350.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.001513/0.3008, allocations: 0.6655 MB / 449.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.3024, allocations: 0.918 MB / 450.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3024, allocations: 0 / 450.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3026, allocations: 119.9 kB / 450.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.3033, allocations: 128.2 kB / 450.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3049, allocations: 0.9153 MB / 451.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.3055, allocations: 0.8419 MB / 452.4 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3057, allocations: 66.92 kB / 452.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.3057, allocations: 31.44 kB / 452.5 MB, free: 320 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3057, allocations: 0 / 452.5 MB, free: 320 kB / 350.1 MB Notification: Performance of Templates: time 0.02391/0.3296, allocations: 13.07 MB / 465.6 MB, free: 3.285 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.909316022880375]