Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001619/0.001619, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002013, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.7 kB / 306.2 MB, free: 1.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08883, allocations: 50.54 MB / 356.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002467/0.09133, allocations: 1.675 MB / 358.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.096, allocations: 3.597 MB / 362.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.188e-05/0.09609, allocations: 7.938 kB / 362.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.09637, allocations: 43.83 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.09642, allocations: 11.86 kB / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.09854, allocations: 1.063 MB / 363.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.09871, allocations: 139.6 kB / 363.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.0988, allocations: 29.31 kB / 363.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.09887, allocations: 51.78 kB / 363.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.09896, allocations: 59.69 kB / 363.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.09898, allocations: 4 kB / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1002, allocations: 1.37 MB / 364.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.1003, allocations: 35.84 kB / 364.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.1004, allocations: 51.66 kB / 364.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.1014, allocations: 1.185 MB / 366.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1014, allocations: 0 / 366.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1014, allocations: 3.984 kB / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1014, allocations: 3.938 kB / 366.1 MB, free: 5.211 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.0007947/0.1022, allocations: 0.5653 MB / 366.7 MB, free: 4.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1022, allocations: 8.031 kB / 366.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.1023, allocations: 16.75 kB / 366.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.1025, allocations: 212.1 kB / 366.9 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1025, allocations: 8.375 kB / 366.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1026, allocations: 8.375 kB / 366.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1028, allocations: 135.5 kB / 367.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1028, allocations: 7.922 kB / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1029, allocations: 0 / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1029, allocations: 4 kB / 367.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.103, allocations: 51.95 kB / 367.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.1036, allocations: 396.4 kB / 367.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.104, allocations: 122.5 kB / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.1041, allocations: 44.83 kB / 367.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1041, allocations: 0 / 367.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1041, allocations: 30.56 kB / 367.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1041, allocations: 4 kB / 367.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002049/0.1062, allocations: 1.208 MB / 368.9 MB, free: 2.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.1062, allocations: 132.7 kB / 369 MB, free: 1.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1064, allocations: 170.3 kB / 369.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.1064, allocations: 33.64 kB / 369.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.1065, allocations: 108.5 kB / 369.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.1066, allocations: 59.19 kB / 369.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.1066, allocations: 45.7 kB / 369.4 MB, free: 1.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1068, allocations: 330.8 kB / 369.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1069, allocations: 99.95 kB / 369.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1071, allocations: 128.5 kB / 370 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1075, allocations: 209.5 kB / 370.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1075, allocations: 0 / 370.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005038/0.108, allocations: 314.1 kB / 370.5 MB, free: 432 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.108, allocations: 4 kB / 370.5 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.108, allocations: 4 kB / 370.5 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.1082, allocations: 40.83 kB / 370.6 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1084, allocations: 35.91 kB / 370.6 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1586/0.267, allocations: 1.403 MB / 372 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.2671, allocations: 9.719 kB / 372 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2672, allocations: 3.875 kB / 372 MB, free: 18.64 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.0001149/0.2673, allocations: 141.1 kB / 372.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.2673, allocations: 18.06 kB / 372.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.2674, allocations: 23.33 kB / 372.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2674, allocations: 1.094 kB / 372.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.2674, allocations: 3.094 kB / 372.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2674, allocations: 1.078 kB / 372.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.2677, allocations: 250.4 kB / 372.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2677, allocations: 0 / 372.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.268, allocations: 52.25 kB / 372.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.268, allocations: 2.328 kB / 372.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.268, allocations: 3.875 kB / 372.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.268, allocations: 2.25 kB / 372.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.268, allocations: 0.9062 kB / 372.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.2686, allocations: 414.6 kB / 372.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2686, allocations: 89.09 kB / 373 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2686, allocations: 5.875 kB / 373 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2688, allocations: 12.23 kB / 373 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2688, allocations: 12.17 kB / 373 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2688, allocations: 2.938 kB / 373 MB, free: 18.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.2689, allocations: 128.9 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2689, allocations: 0.875 kB / 373.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001542/0.2705, allocations: 0.5134 MB / 373.7 MB, free: 18.04 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.001118/0.2716, allocations: 0.5458 MB / 374.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.2722, allocations: 388.9 kB / 374.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2722, allocations: 5.219 kB / 374.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.2724, allocations: 92.44 kB / 374.7 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2727, allocations: 33.53 kB / 374.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.2734, allocations: 443.5 kB / 375.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2736, allocations: 0.7284 MB / 375.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2737, allocations: 35.95 kB / 375.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.2737, allocations: 20.25 kB / 375.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.2737, allocations: 0 / 375.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01782/0.2915, allocations: 7.781 MB / 383.7 MB, free: 15.06 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches