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.001484/0.001484, allocations: 105 kB / 17.59 MB, free: 5.418 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.001624/0.001624, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.397/1.397, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 47.11 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003046/0.1055, allocations: 1.595 MB / 352.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.1103, allocations: 3.169 MB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1105, allocations: 4 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1109, allocations: 51.69 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.111, allocations: 19.86 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.1145, allocations: 1.418 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1148, allocations: 143.7 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1149, allocations: 29.03 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.115, allocations: 51.84 kB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1152, allocations: 59.69 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.1152, allocations: 8 kB / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.1171, allocations: 1.382 MB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.1172, allocations: 27.92 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.1173, allocations: 51.67 kB / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.1187, allocations: 1.197 MB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1187, allocations: 4 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1187, allocations: 0 / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1187, allocations: 0 / 359.9 MB, free: 11.21 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.001147/0.1199, allocations: 0.5652 MB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1199, allocations: 12.03 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.12, allocations: 16.69 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1202, allocations: 220.6 kB / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1203, allocations: 16.06 kB / 360.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1203, allocations: 7.984 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1206, allocations: 132.2 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1206, allocations: 4 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1206, allocations: 0 / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1206, allocations: 0 / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1208, allocations: 55.95 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.1214, allocations: 392.4 kB / 361.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1218, allocations: 126.6 kB / 361.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.1219, allocations: 44.83 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1219, allocations: 0 / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.122, allocations: 34.75 kB / 361.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.122, allocations: 11.88 kB / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002316/0.1243, allocations: 1.207 MB / 362.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.1244, allocations: 128.5 kB / 362.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1246, allocations: 178.1 kB / 363 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1246, allocations: 29.7 kB / 363.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.1247, allocations: 108.5 kB / 363.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.1247, allocations: 55.2 kB / 363.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1248, allocations: 45.7 kB / 363.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.125, allocations: 326.8 kB / 363.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1251, allocations: 96.22 kB / 363.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1254, allocations: 135.3 kB / 363.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.1257, allocations: 200.8 kB / 364 MB, free: 6.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1257, allocations: 3.938 kB / 364 MB, free: 6.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005835/0.1263, allocations: 318.1 kB / 364.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1263, allocations: 4 kB / 364.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.1264, allocations: 0 / 364.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.1266, allocations: 44.81 kB / 364.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1267, allocations: 31.92 kB / 364.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.1281, allocations: 1.519 MB / 365.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1282, allocations: 8.031 kB / 365.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1283, allocations: 4 kB / 365.9 MB, free: 4.641 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.0001403/0.1284, allocations: 141.7 kB / 366.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1285, allocations: 15.81 kB / 366.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.1285, allocations: 25.58 kB / 366.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1285, allocations: 7.938 kB / 366.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1286, allocations: 0 / 366.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1286, allocations: 0 / 366.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.1288, allocations: 249.5 kB / 366.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1289, allocations: 0 / 366.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.1291, allocations: 47.97 kB / 366.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1292, allocations: 0 / 366.4 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1292, allocations: 7.938 kB / 366.4 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1292, allocations: 7.938 kB / 366.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1292, allocations: 7.984 kB / 366.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.1298, allocations: 407.2 kB / 366.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1298, allocations: 92.95 kB / 366.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1299, allocations: 0 / 366.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.13, allocations: 11.94 kB / 366.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.13, allocations: 7.984 kB / 367 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1301, allocations: 8 kB / 367 MB, free: 3.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.924e-05/0.1302, allocations: 132.2 kB / 367.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1302, allocations: 0 / 367.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001474/0.1317, allocations: 0.5156 MB / 367.6 MB, free: 2.887 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.001332/0.133, allocations: 0.5597 MB / 368.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007711/0.1338, allocations: 405.9 kB / 368.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1338, allocations: 0 / 368.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.134, allocations: 91.88 kB / 368.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1343, allocations: 26.33 kB / 368.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.1351, allocations: 435.6 kB / 369.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1354, allocations: 0.728 MB / 369.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1355, allocations: 23.44 kB / 369.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1355, allocations: 0 / 369.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of Templates: time 0.162/0.2975, allocations: 6.175 MB / 376 MB, free: 24.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/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