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.001067/0.001067, allocations: 110 kB / 17.68 MB, free: 5.332 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.001199/0.001199, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.439/1.439, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 46.86 kB / 302 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003207/0.1063, allocations: 1.6 MB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.1109, allocations: 3.161 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.111, allocations: 3.938 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1114, allocations: 63.69 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.1115, allocations: 11.88 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.1149, allocations: 1.428 MB / 357.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1151, allocations: 143.7 kB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1153, allocations: 33.03 kB / 357.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.1154, allocations: 51.84 kB / 358 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1155, allocations: 51.7 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1155, allocations: 8 kB / 358 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.1171, allocations: 1.386 MB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.1172, allocations: 31.91 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.1173, allocations: 51.67 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1185, allocations: 1.197 MB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1185, allocations: 0 / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1185, allocations: 4 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1185, allocations: 3.938 kB / 360.7 MB, free: 10.48 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.001051/0.1196, allocations: 0.5614 MB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1196, allocations: 8.031 kB / 361.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1197, allocations: 16.75 kB / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.12, allocations: 216.5 kB / 361.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.12, allocations: 16.06 kB / 361.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.12, allocations: 16 kB / 361.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1203, allocations: 129 kB / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1203, allocations: 0 / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1203, allocations: 0 / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1203, allocations: 4 kB / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1205, allocations: 55.95 kB / 361.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.1211, allocations: 384.5 kB / 362.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1215, allocations: 130.5 kB / 362.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.1216, allocations: 44.83 kB / 362.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1217, allocations: 4 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1217, allocations: 34.56 kB / 362.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1217, allocations: 0 / 362.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002484/0.1242, allocations: 1.21 MB / 363.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.1243, allocations: 132.5 kB / 363.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1245, allocations: 178.1 kB / 363.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1246, allocations: 29.7 kB / 363.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.1247, allocations: 112.5 kB / 364 MB, free: 6.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.1247, allocations: 55.19 kB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1248, allocations: 49.7 kB / 364.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.125, allocations: 322.8 kB / 364.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1252, allocations: 101.2 kB / 364.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1254, allocations: 127.3 kB / 364.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.1257, allocations: 208.7 kB / 364.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1257, allocations: 3.984 kB / 364.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005946/0.1263, allocations: 314.2 kB / 365.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1264, allocations: 4 kB / 365.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.1264, allocations: 4 kB / 365.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.1266, allocations: 44.81 kB / 365.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1268, allocations: 27.98 kB / 365.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.1284, allocations: 1.511 MB / 366.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1286, allocations: 12.02 kB / 366.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1286, allocations: 4 kB / 366.7 MB, free: 3.918 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.0001461/0.1287, allocations: 137.8 kB / 366.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1288, allocations: 23.78 kB / 366.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.1289, allocations: 25.53 kB / 366.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1289, allocations: 3.938 kB / 366.9 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1289, allocations: 4.062 kB / 366.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1289, allocations: 3.984 kB / 366.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.1292, allocations: 241.6 kB / 367.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1292, allocations: 0 / 367.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1295, allocations: 51.95 kB / 367.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1295, allocations: 4 kB / 367.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1295, allocations: 4 kB / 367.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1295, allocations: 3.938 kB / 367.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1295, allocations: 0 / 367.2 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.13, allocations: 416.6 kB / 367.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1301, allocations: 92.86 kB / 367.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1301, allocations: 4 kB / 367.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1303, allocations: 11.97 kB / 367.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1303, allocations: 11.98 kB / 367.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1303, allocations: 8 kB / 367.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1305, allocations: 128.2 kB / 367.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 4 kB / 367.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001787/0.1323, allocations: 0.5078 MB / 368.4 MB, free: 2.164 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.001582/0.1338, allocations: 0.5527 MB / 368.9 MB, free: 1.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.1346, allocations: 389.9 kB / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1346, allocations: 4 kB / 369.3 MB, free: 1.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1348, allocations: 91.41 kB / 369.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1351, allocations: 23.98 kB / 369.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.1359, allocations: 401.8 kB / 369.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1636/0.2994, allocations: 0.7276 MB / 370.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.2997, allocations: 30.77 kB / 370.6 MB, free: 24.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.2997, allocations: 17.06 kB / 370.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2998, allocations: 0 / 370.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of Templates: time 0.02033/0.3201, allocations: 7.882 MB / 378.5 MB, free: 23.08 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 cvode -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