Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 104.6 kB / 16.51 MB, free: 6.652 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.001732/0.001732, allocations: 194.4 kB / 17.42 MB, free: 6.066 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000987/0.000987, allocations: 55.14 kB / 299.9 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09658, allocations: 49.44 MB / 349.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002462/0.09907, allocations: 1.671 MB / 351.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.104, allocations: 3.535 MB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1042, allocations: 7.938 kB / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1045, allocations: 43.83 kB / 354.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.1046, allocations: 15.86 kB / 354.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.1074, allocations: 1.061 MB / 355.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1077, allocations: 139.6 kB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1078, allocations: 29.33 kB / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.1079, allocations: 47.78 kB / 355.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.108, allocations: 51.7 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1081, allocations: 4 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1097, allocations: 1.374 MB / 357.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1098, allocations: 31.91 kB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.1099, allocations: 47.67 kB / 357.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1111, allocations: 1.189 MB / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1111, allocations: 4 kB / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1111, allocations: 0 / 358.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1112, allocations: 0 / 358.6 MB, free: 11.6 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000875/0.112, allocations: 0.5613 MB / 359.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1121, allocations: 16.03 kB / 359.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.1121, allocations: 16.75 kB / 359.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1124, allocations: 216.1 kB / 359.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1124, allocations: 12.12 kB / 359.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1124, allocations: 4 kB / 359.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1126, allocations: 132.7 kB / 359.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1127, allocations: 0 / 359.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1127, allocations: 8 kB / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1127, allocations: 0 / 359.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1128, allocations: 55.95 kB / 359.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.1134, allocations: 384.4 kB / 360 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.1138, allocations: 122.6 kB / 360.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.1139, allocations: 48.95 kB / 360.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1139, allocations: 0 / 360.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1139, allocations: 34.56 kB / 360.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1139, allocations: 0 / 360.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002162/0.1161, allocations: 1.222 MB / 361.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1162, allocations: 128.5 kB / 361.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1163, allocations: 174.1 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1163, allocations: 33.7 kB / 361.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1164, allocations: 104.5 kB / 361.9 MB, free: 8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1164, allocations: 59.19 kB / 361.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.1165, allocations: 45.7 kB / 362 MB, free: 7.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1166, allocations: 330.8 kB / 362.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1168, allocations: 95.94 kB / 362.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.117, allocations: 131.3 kB / 362.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1173, allocations: 200.7 kB / 362.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1173, allocations: 0 / 362.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005083/0.1178, allocations: 310.2 kB / 363 MB, free: 6.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1178, allocations: 15.94 kB / 363 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1179, allocations: 0 / 363 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.118, allocations: 48.84 kB / 363.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1182, allocations: 31.92 kB / 363.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1193, allocations: 1.397 MB / 364.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.1194, allocations: 8.016 kB / 364.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1194, allocations: 11.94 kB / 364.5 MB, free: 5.16 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.1195, allocations: 137.9 kB / 364.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.1196, allocations: 19.81 kB / 364.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1196, allocations: 21.53 kB / 364.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1196, allocations: 0 / 364.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1196, allocations: 0 / 364.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1197, allocations: 7.984 kB / 364.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1199, allocations: 245.5 kB / 364.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1199, allocations: 0 / 364.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.1202, allocations: 63.89 kB / 365 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1202, allocations: 0.6562 kB / 365 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1202, allocations: 0 / 365 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1202, allocations: 4 kB / 365 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1202, allocations: 0 / 365 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.1207, allocations: 415.1 kB / 365.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1208, allocations: 88.92 kB / 365.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1208, allocations: 0 / 365.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.121, allocations: 15.97 kB / 365.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.121, allocations: 11.98 kB / 365.5 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.121, allocations: 4 kB / 365.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.1211, allocations: 132.2 kB / 365.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1211, allocations: 3.938 kB / 365.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001218/0.1223, allocations: 0.5156 MB / 366.2 MB, free: 3.406 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.0009521/0.1233, allocations: 0.5512 MB / 366.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005955/0.1239, allocations: 397.8 kB / 367.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.1239, allocations: 0 / 367.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1241, allocations: 83.89 kB / 367.2 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1244, allocations: 31.11 kB / 367.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.125, allocations: 452.2 kB / 367.7 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1253, allocations: 0.7322 MB / 368.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.1254, allocations: 29.06 kB / 368.4 MB, free: 1.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1254, allocations: 15.44 kB / 368.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1254, allocations: 0 / 368.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of Templates: time 0.1461/0.2716, allocations: 7.776 MB / 376.2 MB, free: 23.57 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches