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.001356/0.001356, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001413/0.001413, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.45/1.45, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.00156/0.00156, allocations: 47.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2273, allocations: 52.19 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003275/0.2305, allocations: 1.92 MB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006136/0.2367, allocations: 3.449 MB / 429.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2368, allocations: 15.81 kB / 429.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.2374, allocations: 195.1 kB / 429.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2375, allocations: 47.52 kB / 429.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.2419, allocations: 1.929 MB / 431.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.2426, allocations: 0.5027 MB / 431.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2427, allocations: 33.25 kB / 431.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2429, allocations: 191.3 kB / 432.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.2432, allocations: 163.2 kB / 432.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.2432, allocations: 24 kB / 432.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.2459, allocations: 1.858 MB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.2461, allocations: 123.6 kB / 434.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2462, allocations: 135.1 kB / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.2482, allocations: 1.799 MB / 436.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2482, allocations: 0 / 436.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2482, allocations: 4 kB / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2482, allocations: 0 / 436.2 MB, free: 2.098 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.001576/0.2498, allocations: 0.8428 MB / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2499, allocations: 12.03 kB / 437 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.25, allocations: 48.66 kB / 437.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.2505, allocations: 291.3 kB / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2505, allocations: 16.22 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.2506, allocations: 35.86 kB / 437.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.2512, allocations: 0.598 MB / 438 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2512, allocations: 0 / 438 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2513, allocations: 12 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2513, allocations: 4 kB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.2516, allocations: 140.7 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.2528, allocations: 0.5661 MB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.2534, allocations: 318.4 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.2536, allocations: 100.8 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2537, allocations: 4 kB / 439.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2537, allocations: 50.88 kB / 439.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.2537, allocations: 0 / 439.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007575/0.2545, allocations: 377.9 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/0.2547, allocations: 371.8 kB / 439.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.2551, allocations: 401.8 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2552, allocations: 37.7 kB / 440.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.2553, allocations: 200.9 kB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.2554, allocations: 87.28 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2556, allocations: 93.69 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2558, allocations: 362.7 kB / 441.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.2561, allocations: 204.4 kB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.2567, allocations: 0.6234 MB / 441.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.2574, allocations: 396.7 kB / 442.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2574, allocations: 0 / 442.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001178/0.2585, allocations: 0.6487 MB / 442.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2586, allocations: 11.98 kB / 443 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.2586, allocations: 4 kB / 443 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.259, allocations: 130.5 kB / 443.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.2593, allocations: 63.91 kB / 443.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.2633, allocations: 4.168 MB / 447.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2635, allocations: 51.97 kB / 447.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2636, allocations: 23.88 kB / 447.4 MB, free: 6.074 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.0002313/0.2638, allocations: 173.7 kB / 447.6 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.2639, allocations: 43.72 kB / 447.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.2639, allocations: 47.78 kB / 447.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2639, allocations: 4 kB / 447.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2639, allocations: 0 / 447.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.264, allocations: 3.984 kB / 447.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.2643, allocations: 253.1 kB / 447.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2643, allocations: 4 kB / 447.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.2646, allocations: 47.91 kB / 448 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2646, allocations: 0 / 448 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.2646, allocations: 8 kB / 448 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2646, allocations: 4 kB / 448 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2646, allocations: 0 / 448 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.2654, allocations: 0.5044 MB / 448.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.2654, allocations: 35.7 kB / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.2655, allocations: 16.09 kB / 448.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2657, allocations: 19.92 kB / 448.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.2657, allocations: 19.91 kB / 448.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2657, allocations: 8 kB / 448.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003003/0.266, allocations: 271.1 kB / 448.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.266, allocations: 0 / 448.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001749/0.2678, allocations: 0.6519 MB / 449.5 MB, free: 3.926 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.001432/0.2692, allocations: 0.6727 MB / 450.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.2707, allocations: 0.9173 MB / 451.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2707, allocations: 0 / 451.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2709, allocations: 119.9 kB / 451.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.2715, allocations: 124.6 kB / 451.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2731, allocations: 0.9677 MB / 452.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2733, allocations: 237.1 kB / 452.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.2734, allocations: 31.44 kB / 452.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2734, allocations: 0 / 452.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Templates: time 0.01897/0.2924, allocations: 12.2 MB / 464.7 MB, free: 4.543 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/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: 9.366980961058289]