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.0009358/0.0009358, allocations: 95 kB / 16.3 MB, free: 5.996 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.001065/0.001065, allocations: 188.3 kB / 17.2 MB, free: 5.91 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.372/1.372, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 6.906 kB / 300.7 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09983, allocations: 50.43 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001543/0.1014, allocations: 1.295 MB / 352.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1054, allocations: 3.003 MB / 355.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.1055, allocations: 0 / 355.4 MB, free: 7.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1058, allocations: 59.75 kB / 355.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.1059, allocations: 15.92 kB / 355.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.1082, allocations: 0.9652 MB / 356.5 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1083, allocations: 103.7 kB / 356.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.1084, allocations: 21.11 kB / 356.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.1085, allocations: 47.84 kB / 356.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.1086, allocations: 51.77 kB / 356.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1086, allocations: 4 kB / 356.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1097, allocations: 1.046 MB / 357.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1098, allocations: 27.91 kB / 357.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.1098, allocations: 45.64 kB / 357.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008951/0.1107, allocations: 1.088 MB / 358.9 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1107, allocations: 7.938 kB / 358.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1107, allocations: 0 / 358.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1107, allocations: 0 / 358.9 MB, free: 3.914 MB / 286.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.0007659/0.1115, allocations: 0.534 MB / 359.4 MB, free: 3.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1115, allocations: 8.031 kB / 359.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.1116, allocations: 19.77 kB / 359.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1118, allocations: 214.8 kB / 359.7 MB, free: 3.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1118, allocations: 8 kB / 359.7 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.1119, allocations: 8 kB / 359.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1121, allocations: 121 kB / 359.8 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1121, allocations: 4 kB / 359.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1122, allocations: 4 kB / 359.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1122, allocations: 3.938 kB / 359.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1123, allocations: 67.91 kB / 359.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1129, allocations: 376.5 kB / 360.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.1132, allocations: 134.5 kB / 360.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1133, allocations: 7.953 kB / 360.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1133, allocations: 30.56 kB / 360.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1133, allocations: 0 / 360.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002105/0.1154, allocations: 1.225 MB / 361.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.1155, allocations: 132.5 kB / 361.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1156, allocations: 179.2 kB / 362 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1157, allocations: 29.7 kB / 362 MB, free: 500 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.1157, allocations: 108.5 kB / 362.1 MB, free: 388 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1158, allocations: 63.11 kB / 362.2 MB, free: 324 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.1158, allocations: 11.94 kB / 362.2 MB, free: 312 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1159, allocations: 326.8 kB / 362.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1161, allocations: 103.8 kB / 362.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1163, allocations: 131.4 kB / 362.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1165, allocations: 116 kB / 362.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1165, allocations: 0 / 362.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005259/0.117, allocations: 302.3 kB / 363.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1171, allocations: 6.188 kB / 363.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.1171, allocations: 7.984 kB / 363.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.1173, allocations: 44.78 kB / 363.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1174, allocations: 35.97 kB / 363.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1186, allocations: 1.413 MB / 364.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/0.1187, allocations: 8.031 kB / 364.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1187, allocations: 4 kB / 364.6 MB, free: 13.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.1188, allocations: 137.8 kB / 364.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.1189, allocations: 15.81 kB / 364.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.1189, allocations: 25.47 kB / 364.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.119, allocations: 4 kB / 364.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.119, allocations: 4.062 kB / 364.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.119, allocations: 0 / 364.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1192, allocations: 249.5 kB / 365.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1192, allocations: 4 kB / 365.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1195, allocations: 47.97 kB / 365.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1195, allocations: 4 kB / 365.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1196, allocations: 4 kB / 365.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1196, allocations: 3.953 kB / 365.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1196, allocations: 3.938 kB / 365.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1201, allocations: 415.1 kB / 365.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1202, allocations: 88.92 kB / 365.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1202, allocations: 8.031 kB / 365.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1203, allocations: 4 kB / 365.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1204, allocations: 16.08 kB / 365.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1204, allocations: 8 kB / 365.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.1205, allocations: 127.5 kB / 365.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1205, allocations: 0 / 365.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001561/0.1221, allocations: 0.5155 MB / 366.3 MB, free: 11.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000971/0.123, allocations: 0.5537 MB / 366.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.1237, allocations: 389.9 kB / 367.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1237, allocations: 4 kB / 367.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1238, allocations: 87.89 kB / 367.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1241, allocations: 19.98 kB / 367.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.1247, allocations: 448.6 kB / 367.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.125, allocations: 0.7363 MB / 368.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1251, allocations: 33.05 kB / 368.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1252, allocations: 15.44 kB / 368.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1252, allocations: 0 / 368.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Templates: time 0.01579/0.141, allocations: 7.747 MB / 376.3 MB, free: 1.812 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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches