Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002002/0.002002, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.002407/0.002407, allocations: 166.6 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.792e-05, allocations: 5.406 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003741/0.003769, allocations: 1.912 MB / 252.3 MB, free: 2.027 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007775/0.01154, allocations: 3.5 MB / 255.8 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.01173, allocations: 23.75 kB / 255.8 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.01236, allocations: 187.1 kB / 256 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.01251, allocations: 51.52 kB / 256 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.01785, allocations: 2.05 MB / 258.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.01864, allocations: 0.5025 MB / 258.6 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.01882, allocations: 41.19 kB / 258.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.01916, allocations: 235.5 kB / 258.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.0194, allocations: 143.6 kB / 259 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.01945, allocations: 24 kB / 259 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.0222, allocations: 1.857 MB / 260.9 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.02239, allocations: 131.5 kB / 261 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.02255, allocations: 99.62 kB / 261.1 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.02533, allocations: 2.111 MB / 263.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.02533, allocations: 0 / 263.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02534, allocations: 0 / 263.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.02534, allocations: 0 / 263.2 MB, free: 7.059 MB / 250.7 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.00194/0.02728, allocations: 0.8275 MB / 264 MB, free: 6.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.02733, allocations: 8.031 kB / 264 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.02749, allocations: 60.61 kB / 264.1 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.02804, allocations: 306.6 kB / 264.4 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.02807, allocations: 16.59 kB / 264.4 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.02816, allocations: 36.33 kB / 264.4 MB, free: 5.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.029, allocations: 0.6055 MB / 265 MB, free: 5.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.02901, allocations: 4.188 kB / 265 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.02904, allocations: 7.938 kB / 265.1 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.02905, allocations: 7.984 kB / 265.1 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.02936, allocations: 147.8 kB / 265.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.03058, allocations: 0.5545 MB / 265.8 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.03128, allocations: 318.4 kB / 266.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.03147, allocations: 100.8 kB / 266.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.0315, allocations: 4.109 kB / 266.2 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.03155, allocations: 46.44 kB / 266.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.03155, allocations: 0 / 266.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008428/0.0324, allocations: 393.5 kB / 266.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002798/0.03268, allocations: 367.8 kB / 267 MB, free: 2.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.03318, allocations: 409.8 kB / 267.4 MB, free: 2.555 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.03322, allocations: 33.7 kB / 267.4 MB, free: 2.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.03341, allocations: 192.9 kB / 267.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.03352, allocations: 95.22 kB / 267.7 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.03369, allocations: 97.67 kB / 267.8 MB, free: 2.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.03391, allocations: 354.8 kB / 268.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.03427, allocations: 204.4 kB / 268.3 MB, free: 1.574 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.03501, allocations: 0.6117 MB / 268.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.03569, allocations: 400.6 kB / 269.3 MB, free: 468 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03569, allocations: 4 kB / 269.3 MB, free: 464 kB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001337/0.03703, allocations: 0.6608 MB / 270 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.03705, allocations: 4 kB / 270 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.03708, allocations: 11.98 kB / 270 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.03764, allocations: 130.4 kB / 270.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.03795, allocations: 67.91 kB / 270.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.04243, allocations: 4.183 MB / 274.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.04265, allocations: 39.7 kB / 274.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.04269, allocations: 16 kB / 274.4 MB, free: 11.01 MB / 266.7 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.0002445/0.04294, allocations: 182 kB / 274.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.04303, allocations: 47.66 kB / 274.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.331e-05/0.04313, allocations: 47.78 kB / 274.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.04313, allocations: 4 kB / 274.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.04313, allocations: 0 / 274.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.04314, allocations: 3.984 kB / 274.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.04352, allocations: 257.1 kB / 275 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.04353, allocations: 0 / 275 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.04383, allocations: 43.91 kB / 275 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.04383, allocations: 4 kB / 275 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.04387, allocations: 12 kB / 275 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.04387, allocations: 0 / 275 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.04387, allocations: 0 / 275 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.04468, allocations: 0.5153 MB / 275.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.04474, allocations: 31.72 kB / 275.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.0448, allocations: 19.98 kB / 275.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.04498, allocations: 11.98 kB / 275.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.04504, allocations: 15.97 kB / 275.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.04505, allocations: 8 kB / 275.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.04538, allocations: 271.1 kB / 275.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04538, allocations: 0 / 275.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001894/0.04728, allocations: 0.6519 MB / 276.5 MB, free: 8.848 MB / 266.7 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.001619/0.0489, allocations: 0.8151 MB / 277.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.05056, allocations: 0.938 MB / 278.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.05056, allocations: 0 / 278.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.0508, allocations: 123.8 kB / 278.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.05143, allocations: 108.1 kB / 278.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.05298, allocations: 0.8785 MB / 279.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.05327, allocations: 240.9 kB / 279.6 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.05346, allocations: 70.92 kB / 279.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.05355, allocations: 32.44 kB / 279.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.05355, allocations: 0 / 279.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Templates: time 0.02526/0.07881, allocations: 13.37 MB / 293.1 MB, free: 8.156 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.045586134074256]