Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001911/0.001911, allocations: 84.31 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001487/0.001487, allocations: 164.1 kB / 23.96 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 325 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.59e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003531/0.003557, allocations: 1.941 MB / 327 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007632/0.01119, allocations: 3.503 MB / 330.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004616/0.01165, allocations: 20.28 kB / 330.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.01237, allocations: 194.3 kB / 330.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.01263, allocations: 48.36 kB / 330.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006252/0.01888, allocations: 2.035 MB / 332.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.01988, allocations: 0.5076 MB / 333.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.02007, allocations: 30.23 kB / 333.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.0206, allocations: 244.7 kB / 333.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.02094, allocations: 140 kB / 333.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.02106, allocations: 22.94 kB / 333.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.02625, allocations: 1.868 MB / 335.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.02646, allocations: 130.6 kB / 335.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.02666, allocations: 106.6 kB / 335.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.03066, allocations: 2.105 MB / 337.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.03067, allocations: 0 / 337.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03067, allocations: 0 / 337.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.03068, allocations: 0 / 337.9 MB, free: 8.32 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.001827/0.0325, allocations: 0.8313 MB / 338.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.03255, allocations: 15.98 kB / 338.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.03267, allocations: 44.66 kB / 338.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.03324, allocations: 298.5 kB / 339.1 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.03327, allocations: 16.66 kB / 339.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.03334, allocations: 24.38 kB / 339.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.03414, allocations: 0.6016 MB / 339.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.03415, allocations: 4.188 kB / 339.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.03418, allocations: 11.94 kB / 339.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.03419, allocations: 4 kB / 339.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.03449, allocations: 144.7 kB / 339.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.03573, allocations: 0.5661 MB / 340.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.03648, allocations: 317.4 kB / 340.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.03667, allocations: 108.8 kB / 340.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.03669, allocations: 4 kB / 340.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.03673, allocations: 38.5 kB / 340.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.03673, allocations: 0 / 340.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008181/0.03755, allocations: 392.5 kB / 341.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000228/0.03778, allocations: 363.8 kB / 341.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.03823, allocations: 413.8 kB / 342.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.03827, allocations: 29.7 kB / 342.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.03844, allocations: 200.9 kB / 342.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.03852, allocations: 91.22 kB / 342.4 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.03868, allocations: 105.5 kB / 342.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.03889, allocations: 354.8 kB / 342.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.03924, allocations: 200.4 kB / 343 MB, free: 2.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.03995, allocations: 0.6118 MB / 343.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.04064, allocations: 404.6 kB / 344 MB, free: 1.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.04064, allocations: 0 / 344 MB, free: 1.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001323/0.04197, allocations: 0.6526 MB / 344.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.04199, allocations: 12 kB / 344.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.04202, allocations: 8 kB / 344.7 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.04252, allocations: 130.4 kB / 344.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.04282, allocations: 63.89 kB / 344.9 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/0.04715, allocations: 4.172 MB / 349.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.04743, allocations: 43.64 kB / 349.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.04747, allocations: 19.92 kB / 349.1 MB, free: 12.3 MB / 318.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.0002569/0.04773, allocations: 173.8 kB / 349.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.04782, allocations: 47.66 kB / 349.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.04791, allocations: 39.84 kB / 349.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.04791, allocations: 8.094 kB / 349.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.04792, allocations: 0 / 349.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.04792, allocations: 3.984 kB / 349.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.04829, allocations: 261.1 kB / 349.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.04829, allocations: 0 / 349.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.0486, allocations: 47.84 kB / 349.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0486, allocations: 0 / 349.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.04863, allocations: 8 kB / 349.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.04864, allocations: 4 kB / 349.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04864, allocations: 3.984 kB / 349.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.04942, allocations: 0.4989 MB / 350.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.04947, allocations: 39.7 kB / 350.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.04952, allocations: 12 kB / 350.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.0497, allocations: 15.92 kB / 350.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.04976, allocations: 19.97 kB / 350.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.04977, allocations: 4 kB / 350.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.05006, allocations: 271.1 kB / 350.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05006, allocations: 0 / 350.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001935/0.052, allocations: 0.6598 MB / 351.2 MB, free: 10.15 MB / 318.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.001497/0.05349, allocations: 0.8002 MB / 352 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.05496, allocations: 0.9211 MB / 353 MB, free: 8.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.05497, allocations: 3.938 kB / 353 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.05523, allocations: 119.9 kB / 353.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.05585, allocations: 112.2 kB / 353.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.05757, allocations: 0.8615 MB / 354 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.05783, allocations: 237.1 kB / 354.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.05801, allocations: 70.91 kB / 354.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.05809, allocations: 32.44 kB / 354.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.05809, allocations: 0 / 354.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Templates: time 0.02439/0.08248, allocations: 13.42 MB / 367.8 MB, free: 9.551 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.933256603777409]