Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001604, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.7 MB, free: 10.38 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 62.69 kB / 307.9 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09969, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003055/0.1028, allocations: 1.609 MB / 360 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.108, allocations: 3.212 MB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1082, allocations: 0 / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1086, allocations: 51.7 kB / 363.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.1087, allocations: 19.86 kB / 363.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.1122, allocations: 1.432 MB / 364.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1125, allocations: 143.7 kB / 364.9 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1126, allocations: 29.03 kB / 364.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.1127, allocations: 55.83 kB / 365 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1128, allocations: 63.7 kB / 365 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1129, allocations: 4 kB / 365 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1147, allocations: 1.39 MB / 366.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.1148, allocations: 31.92 kB / 366.5 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.1149, allocations: 51.67 kB / 366.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1162, allocations: 1.189 MB / 367.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1162, allocations: 4 kB / 367.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1162, allocations: 0 / 367.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1162, allocations: 0 / 367.7 MB, free: 4.664 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.001318/0.1175, allocations: 0.5652 MB / 368.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1176, allocations: 15.97 kB / 368.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.1177, allocations: 16.75 kB / 368.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.118, allocations: 216 kB / 368.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.118, allocations: 4.375 kB / 368.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1181, allocations: 16.31 kB / 368.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1184, allocations: 128 kB / 368.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1184, allocations: 0 / 368.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1184, allocations: 4 kB / 368.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1184, allocations: 0 / 368.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1186, allocations: 55.95 kB / 368.7 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.1192, allocations: 388.4 kB / 369.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.1196, allocations: 134.5 kB / 369.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.1197, allocations: 40.83 kB / 369.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1198, allocations: 4 kB / 369.3 MB, free: 2.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1198, allocations: 34.56 kB / 369.3 MB, free: 2.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1198, allocations: 4 kB / 369.3 MB, free: 2.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002396/0.1222, allocations: 1.214 MB / 370.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.1223, allocations: 132.5 kB / 370.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1225, allocations: 178.3 kB / 370.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1226, allocations: 29.7 kB / 370.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.1227, allocations: 112.8 kB / 371 MB, free: 1.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.1227, allocations: 51.2 kB / 371 MB, free: 1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.1228, allocations: 45.7 kB / 371 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.123, allocations: 326.8 kB / 371.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1232, allocations: 95.88 kB / 371.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1234, allocations: 139.3 kB / 371.6 MB, free: 388 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1237, allocations: 204.7 kB / 371.8 MB, free: 180 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1237, allocations: 0 / 371.8 MB, free: 180 kB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.1592/0.2829, allocations: 302.2 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.283, allocations: 5.578 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.283, allocations: 5.422 kB / 372.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.2832, allocations: 45.55 kB / 372.1 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2834, allocations: 29.92 kB / 372.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.2845, allocations: 1.517 MB / 373.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2846, allocations: 6.375 kB / 373.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2846, allocations: 7.969 kB / 373.7 MB, free: 18.23 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.0001061/0.2848, allocations: 137 kB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.2848, allocations: 18.91 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.2849, allocations: 22.22 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2849, allocations: 6.109 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2849, allocations: 0 / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2849, allocations: 1.406 kB / 373.9 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2851, allocations: 246.5 kB / 374.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2851, allocations: 1.719 kB / 374.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.2854, allocations: 55.53 kB / 374.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2854, allocations: 5.281 kB / 374.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2854, allocations: 2.094 kB / 374.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2854, allocations: 2.469 kB / 374.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2855, allocations: 0.8438 kB / 374.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.286, allocations: 416.6 kB / 374.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.286, allocations: 91.41 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.286, allocations: 4.734 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2861, allocations: 9.469 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2862, allocations: 13.45 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2862, allocations: 5.812 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.2863, allocations: 125.4 kB / 374.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2863, allocations: 3.719 kB / 374.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001497/0.2878, allocations: 0.5119 MB / 375.4 MB, free: 17.62 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.0011/0.2889, allocations: 0.5475 MB / 375.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.2896, allocations: 407.5 kB / 376.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2896, allocations: 0 / 376.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2898, allocations: 89.45 kB / 376.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2901, allocations: 28.08 kB / 376.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.2907, allocations: 452.7 kB / 376.9 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.2909, allocations: 0.7319 MB / 377.6 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.2909, allocations: 20.97 kB / 377.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2909, allocations: 0 / 377.6 MB, free: 16.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01155/0.3025, allocations: 6.185 MB / 383.8 MB, free: 15.43 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches