Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9676/0.9676, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.197e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002814/0.002836, allocations: 1.966 MB / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005191/0.008027, allocations: 3.528 MB / 279.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.008209, allocations: 19.81 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.00866, allocations: 195 kB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.008766, allocations: 47.56 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.01253, allocations: 2.058 MB / 281.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.01305, allocations: 0.5065 MB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.01317, allocations: 33.25 kB / 282.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.01342, allocations: 239.5 kB / 282.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.01359, allocations: 139.6 kB / 282.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.01364, allocations: 23.98 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.01576, allocations: 1.877 MB / 284.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01593, allocations: 131.5 kB / 284.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.01602, allocations: 99.67 kB / 285 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.01811, allocations: 2.041 MB / 287 MB, free: 7.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01812, allocations: 0 / 287 MB, free: 7.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01812, allocations: 0 / 287 MB, free: 7.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01812, allocations: 4 kB / 287 MB, free: 7.398 MB / 266.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.001201/0.01932, allocations: 0.935 MB / 287.9 MB, free: 6.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01936, allocations: 12.03 kB / 287.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.01945, allocations: 56.66 kB / 288 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.01978, allocations: 301.3 kB / 288.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.0198, allocations: 16.66 kB / 288.3 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.01985, allocations: 28.38 kB / 288.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.02623, allocations: 0.5571 MB / 288.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.02624, allocations: 192 / 288.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.02626, allocations: 15.94 kB / 288.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.02627, allocations: 4 kB / 288.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.02635, allocations: 45.92 kB / 289 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.02707, allocations: 0.5113 MB / 289.5 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.02736, allocations: 149.4 kB / 289.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.02742, allocations: 43.66 kB / 289.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.02743, allocations: 4 kB / 289.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.02746, allocations: 45.33 kB / 289.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.02746, allocations: 0 / 289.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003177/0.02778, allocations: 188.4 kB / 289.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.02791, allocations: 371.8 kB / 290.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.0282, allocations: 430.4 kB / 290.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.02823, allocations: 33.7 kB / 290.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.02836, allocations: 255.5 kB / 291 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.02843, allocations: 95.19 kB / 291 MB, free: 2.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.02855, allocations: 119.3 kB / 291.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.006288/0.03484, allocations: 0.5312 MB / 291.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.03495, allocations: 56.45 kB / 291.8 MB, free: 2.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.03521, allocations: 0.4993 MB / 292.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.03541, allocations: 155.7 kB / 292.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.03541, allocations: 3.938 kB / 292.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005006/0.03591, allocations: 348.9 kB / 292.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.03593, allocations: 4 kB / 292.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.03595, allocations: 16 kB / 292.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.03621, allocations: 78.97 kB / 292.8 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.0364, allocations: 67.84 kB / 292.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008385/0.04478, allocations: 5.164 MB / 298.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.0449, allocations: 43.62 kB / 298.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.04492, allocations: 15.98 kB / 298.1 MB, free: 11.37 MB / 282.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.0001159/0.04504, allocations: 172.5 kB / 298.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.0451, allocations: 47.72 kB / 298.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.04515, allocations: 39.84 kB / 298.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.04515, allocations: 4 kB / 298.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.04516, allocations: 8 kB / 298.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.04516, allocations: 4 kB / 298.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.04571, allocations: 209 kB / 298.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.04571, allocations: 0 / 298.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.04588, allocations: 35.92 kB / 298.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.04589, allocations: 4 kB / 298.6 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.0459, allocations: 11.98 kB / 298.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.04591, allocations: 3.984 kB / 298.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.04591, allocations: 0 / 298.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.04623, allocations: 379.2 kB / 299 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.04627, allocations: 43.7 kB / 299.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.0463, allocations: 8 kB / 299.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.04641, allocations: 12 kB / 299.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.04644, allocations: 15.91 kB / 299.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.04646, allocations: 4 kB / 299.1 MB, free: 10.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.04661, allocations: 259 kB / 299.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04661, allocations: 0 / 299.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.007534/0.05414, allocations: 0.6559 MB / 300 MB, free: 9.414 MB / 282.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.001096/0.05524, allocations: 0.8034 MB / 300.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006773/0.06201, allocations: 0.8853 MB / 301.7 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.06201, allocations: 4 kB / 301.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.06211, allocations: 66.72 kB / 301.8 MB, free: 7.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.06258, allocations: 108.8 kB / 301.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.06359, allocations: 0.7599 MB / 302.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.06369, allocations: 128.5 kB / 302.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.06381, allocations: 30.97 kB / 302.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.06408, allocations: 194.1 kB / 303 MB, free: 6.285 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.06408, allocations: 0 / 303 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Templates: time 0.03165/0.09573, allocations: 14.8 MB / 317.8 MB, free: 7.586 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","",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.243205648846924]