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.001279/0.001279, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.00119/0.00119, allocations: 192 kB / 18.63 MB, free: 4.375 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.363/1.363, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009938, allocations: 48.78 kB / 302.1 MB, free: 5.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.09436, allocations: 49.45 MB / 351.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002554/0.09695, allocations: 1.593 MB / 353.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.1013, allocations: 3.161 MB / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1014, allocations: 0 / 356.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.1016, allocations: 55.69 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.1017, allocations: 19.86 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.1042, allocations: 1.425 MB / 357.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1044, allocations: 147.6 kB / 357.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.1045, allocations: 33.03 kB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1046, allocations: 51.78 kB / 358 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.1047, allocations: 59.7 kB / 358 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1047, allocations: 8 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.106, allocations: 1.382 MB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1061, allocations: 31.92 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.1061, allocations: 51.67 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009734/0.1071, allocations: 1.197 MB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1071, allocations: 7.938 kB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1071, allocations: 4 kB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1071, allocations: 0 / 360.7 MB, free: 10.51 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.0007835/0.1079, allocations: 0.5613 MB / 361.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.108, allocations: 12.03 kB / 361.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.108, allocations: 16.75 kB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1083, allocations: 220.6 kB / 361.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1083, allocations: 8.125 kB / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.1083, allocations: 15.94 kB / 361.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1085, allocations: 117.9 kB / 361.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1086, allocations: 4 kB / 361.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1086, allocations: 4 kB / 361.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1086, allocations: 0 / 361.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1087, allocations: 58.34 kB / 361.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1093, allocations: 388.4 kB / 362.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1096, allocations: 134.5 kB / 362.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1097, allocations: 40.83 kB / 362.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1097, allocations: 0 / 362.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1098, allocations: 42.56 kB / 362.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.1098, allocations: 0 / 362.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00204/0.1118, allocations: 1.215 MB / 363.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.1119, allocations: 132.5 kB / 363.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1121, allocations: 178.1 kB / 363.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1121, allocations: 29.7 kB / 363.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.1121, allocations: 108.5 kB / 364 MB, free: 6.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.1122, allocations: 55.2 kB / 364 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.1123, allocations: 45.7 kB / 364.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1124, allocations: 330.8 kB / 364.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1125, allocations: 87.95 kB / 364.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1127, allocations: 139.3 kB / 364.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.113, allocations: 204.7 kB / 364.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.113, allocations: 0 / 364.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005181/0.1136, allocations: 306.3 kB / 365.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1136, allocations: 4 kB / 365.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.1136, allocations: 3.984 kB / 365.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.1138, allocations: 44.77 kB / 365.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.114, allocations: 31.97 kB / 365.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1152, allocations: 1.519 MB / 366.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.1153, allocations: 8.016 kB / 366.7 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1153, allocations: 8 kB / 366.7 MB, free: 3.953 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.0001235/0.1155, allocations: 129.8 kB / 366.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1155, allocations: 15.81 kB / 366.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.1156, allocations: 25.47 kB / 366.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1156, allocations: 7.938 kB / 366.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1156, allocations: 4.062 kB / 366.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1156, allocations: 0 / 366.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1158, allocations: 249.5 kB / 367.2 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1159, allocations: 0 / 367.2 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1161, allocations: 51.91 kB / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1161, allocations: 4.031 kB / 367.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1162, allocations: 11.98 kB / 367.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1162, allocations: 3.938 kB / 367.2 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1162, allocations: 0 / 367.2 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.1167, allocations: 414.1 kB / 367.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1168, allocations: 92.86 kB / 367.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1168, allocations: 4 kB / 367.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1169, allocations: 11.94 kB / 367.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.117, allocations: 8.031 kB / 367.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.117, allocations: 4.375 kB / 367.7 MB, free: 2.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.1171, allocations: 128.2 kB / 367.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1171, allocations: 4 kB / 367.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001192/0.1183, allocations: 0.5156 MB / 368.4 MB, free: 2.203 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.0009402/0.1192, allocations: 0.552 MB / 368.9 MB, free: 1.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.1198, allocations: 392.8 kB / 369.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1199, allocations: 4 kB / 369.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.12, allocations: 87.88 kB / 369.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1203, allocations: 23.98 kB / 369.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.1209, allocations: 389.9 kB / 369.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1396/0.2605, allocations: 0.7349 MB / 370.6 MB, free: 24.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.2606, allocations: 29 kB / 370.6 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.2607, allocations: 18.75 kB / 370.6 MB, free: 24.73 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2607, allocations: 0.7812 kB / 370.6 MB, free: 24.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01404/0.2747, allocations: 7.883 MB / 378.5 MB, free: 23.15 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 -s gbode -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