Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009804/0.0009804, allocations: 92.94 kB / 17.3 MB, free: 6 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.001143/0.001144, allocations: 181 kB / 18.21 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004572, allocations: 16 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09428, allocations: 47.58 MB / 328.9 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001931/0.09627, allocations: 1.319 MB / 330.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.1017, allocations: 3.537 MB / 333.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1018, allocations: 0 / 333.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1022, allocations: 51.77 kB / 333.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.1022, allocations: 7.922 kB / 333.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.105, allocations: 1.061 MB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1052, allocations: 139.6 kB / 335.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1054, allocations: 24.89 kB / 335.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.1054, allocations: 39.8 kB / 335.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1056, allocations: 59.75 kB / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1056, allocations: 0 / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.107, allocations: 1.374 MB / 336.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.107, allocations: 27.86 kB / 336.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.1071, allocations: 73.38 kB / 336.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1083, allocations: 1.185 MB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1083, allocations: 0 / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1083, allocations: 0 / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1083, allocations: 0 / 337.8 MB, free: 10.84 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.0009147/0.1092, allocations: 0.5419 MB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1093, allocations: 8.031 kB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1093, allocations: 16.75 kB / 338.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1096, allocations: 216 kB / 338.6 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1096, allocations: 8.375 kB / 338.6 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1096, allocations: 8.375 kB / 338.6 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.1099, allocations: 132.7 kB / 338.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1099, allocations: 4 kB / 338.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.11, allocations: 0 / 338.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.11, allocations: 3.938 kB / 338.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1101, allocations: 67.83 kB / 338.8 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.1107, allocations: 384.5 kB / 339.2 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.111, allocations: 130.5 kB / 339.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.1111, allocations: 48.83 kB / 339.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1111, allocations: 4 kB / 339.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1112, allocations: 34.56 kB / 339.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1112, allocations: 0 / 339.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002124/0.1133, allocations: 1.238 MB / 340.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.1134, allocations: 132.5 kB / 340.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1136, allocations: 174.3 kB / 341 MB, free: 7.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1136, allocations: 30.92 kB / 341 MB, free: 7.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.1137, allocations: 112.4 kB / 341.1 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1137, allocations: 47.27 kB / 341.1 MB, free: 7.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.1138, allocations: 29.7 kB / 341.2 MB, free: 7.145 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1139, allocations: 330.8 kB / 341.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1141, allocations: 99.94 kB / 341.6 MB, free: 6.715 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1143, allocations: 139.3 kB / 341.7 MB, free: 6.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1146, allocations: 200.9 kB / 341.9 MB, free: 6.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1146, allocations: 0 / 341.9 MB, free: 6.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005338/0.1152, allocations: 314 kB / 342.2 MB, free: 6.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1152, allocations: 4 kB / 342.2 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.1152, allocations: 7.984 kB / 342.2 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.1154, allocations: 40.83 kB / 342.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1156, allocations: 31.92 kB / 342.3 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1168, allocations: 1.409 MB / 343.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.1169, allocations: 12.19 kB / 343.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1169, allocations: 11.98 kB / 343.8 MB, free: 4.398 MB / 286.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.0001203/0.1171, allocations: 133.8 kB / 343.9 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.1171, allocations: 15.8 kB / 343.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.1172, allocations: 29.47 kB / 343.9 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1172, allocations: 3.938 kB / 343.9 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1172, allocations: 0 / 343.9 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1172, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1175, allocations: 249.5 kB / 344.2 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1175, allocations: 4 kB / 344.2 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1178, allocations: 47.97 kB / 344.2 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1178, allocations: 0 / 344.2 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1178, allocations: 8 kB / 344.2 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1178, allocations: 3.984 kB / 344.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1178, allocations: 0 / 344.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1184, allocations: 423.1 kB / 344.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1184, allocations: 88.92 kB / 344.7 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1184, allocations: 4 kB / 344.7 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1186, allocations: 8 kB / 344.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1186, allocations: 15.98 kB / 344.8 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1186, allocations: 0 / 344.8 MB, free: 3.289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.1187, allocations: 127.2 kB / 344.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1187, allocations: 4 kB / 344.9 MB, free: 3.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001367/0.1201, allocations: 0.5078 MB / 345.4 MB, free: 2.652 MB / 286.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.001094/0.1212, allocations: 0.5482 MB / 346 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006345/0.1218, allocations: 397.9 kB / 346.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1219, allocations: 0 / 346.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.122, allocations: 96.11 kB / 346.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1224, allocations: 32.59 kB / 346.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.123, allocations: 456.6 kB / 346.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1233, allocations: 0.7323 MB / 347.6 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.749e-05/0.1234, allocations: 37.05 kB / 347.7 MB, free: 296 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.1234, allocations: 15.44 kB / 347.7 MB, free: 284 kB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1234, allocations: 0 / 347.7 MB, free: 284 kB / 286.1 MB Notification: Performance of Templates: time 0.0129/0.1363, allocations: 7.747 MB / 355.4 MB, free: 8.516 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches