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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 115.4 kB / 17.69 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 191 kB / 18.63 MB, free: 4.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 51.52 kB / 302 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09221, allocations: 49.44 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003577/0.09583, allocations: 2.01 MB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00644/0.1023, allocations: 3.66 MB / 357.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1026, allocations: 15.88 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.1032, allocations: 175.1 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1033, allocations: 47.53 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.1081, allocations: 1.944 MB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.1088, allocations: 498.7 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.109, allocations: 45.08 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1091, allocations: 187.3 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1094, allocations: 167.2 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.1094, allocations: 24 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.1117, allocations: 1.776 MB / 362 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.1119, allocations: 127.6 kB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1121, allocations: 170.9 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.114, allocations: 1.769 MB / 364.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.114, allocations: 4 kB / 364.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.114, allocations: 0 / 364.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.114, allocations: 0 / 364.1 MB, free: 7.105 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.001566/0.1156, allocations: 0.8996 MB / 365 MB, free: 6.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1156, allocations: 8.031 kB / 365 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.1157, allocations: 44.38 kB / 365 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.1162, allocations: 362.2 kB / 365.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1163, allocations: 16.41 kB / 365.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1163, allocations: 24 kB / 365.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.1168, allocations: 303.1 kB / 365.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1168, allocations: 0 / 365.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.1169, allocations: 19.98 kB / 365.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1169, allocations: 4 kB / 365.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.1172, allocations: 144.7 kB / 365.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1183, allocations: 0.6755 MB / 366.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.1189, allocations: 321.1 kB / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.1191, allocations: 112.7 kB / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1192, allocations: 0 / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1192, allocations: 38.56 kB / 367 MB, free: 3.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1192, allocations: 4 kB / 367 MB, free: 3.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006826/0.1199, allocations: 378.2 kB / 367.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.1201, allocations: 371.8 kB / 367.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.1205, allocations: 405.7 kB / 368.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1206, allocations: 37.7 kB / 368.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1207, allocations: 196.7 kB / 368.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.1208, allocations: 82.81 kB / 368.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.121, allocations: 97.67 kB / 368.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1212, allocations: 366.7 kB / 368.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.1215, allocations: 204.4 kB / 369.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.122, allocations: 318.4 kB / 369.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.1226, allocations: 393.6 kB / 369.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1226, allocations: 0 / 369.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001135/0.1237, allocations: 0.6573 MB / 370.5 MB, free: 332 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1238, allocations: 4 kB / 370.5 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.1238, allocations: 7.984 kB / 370.5 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.1243, allocations: 130.4 kB / 370.6 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1245, allocations: 63.95 kB / 370.7 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1888/0.3133, allocations: 4.554 MB / 375.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.3136, allocations: 51.06 kB / 375.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.3137, allocations: 13.47 kB / 375.3 MB, free: 20.62 MB / 302.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.0002212/0.3139, allocations: 171.1 kB / 375.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/0.314, allocations: 37.62 kB / 375.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.177e-05/0.3141, allocations: 50.31 kB / 375.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3141, allocations: 1.5 kB / 375.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3141, allocations: 5.156 kB / 375.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3141, allocations: 1.312 kB / 375.5 MB, free: 20.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.3146, allocations: 344.9 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3146, allocations: 0.5312 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.3149, allocations: 44.88 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3149, allocations: 1.656 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.3149, allocations: 11.41 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3149, allocations: 6.172 kB / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3149, allocations: 0 / 375.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.3156, allocations: 0.5061 MB / 376.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.3157, allocations: 113.3 kB / 376.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.3157, allocations: 16.09 kB / 376.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3159, allocations: 15.22 kB / 376.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.316, allocations: 12.36 kB / 376.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.316, allocations: 8.375 kB / 376.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.3163, allocations: 272.3 kB / 376.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3163, allocations: 0 / 376.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002047/0.3184, allocations: 0.6524 MB / 377.5 MB, free: 19.96 MB / 302.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.001887/0.3203, allocations: 0.6697 MB / 378.2 MB, free: 19.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.3217, allocations: 0.9513 MB / 379.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3218, allocations: 1.344 kB / 379.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.322, allocations: 119.1 kB / 379.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.3226, allocations: 126.4 kB / 379.4 MB, free: 19.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3242, allocations: 0.8934 MB / 380.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3246, allocations: 0.8383 MB / 381.1 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.3249, allocations: 70.77 kB / 381.2 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.325, allocations: 28.23 kB / 381.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.325, allocations: 1.281 kB / 381.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of Templates: time 0.02665/0.3516, allocations: 12.86 MB / 394.1 MB, free: 13.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) 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) Reference file matches