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.001338/0.001338, allocations: 111 kB / 17.74 MB, free: 5.34 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.001548/0.001548, allocations: 188.4 kB / 18.67 MB, free: 4.418 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2523, allocations: 49.44 MB / 401.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002671/0.255, allocations: 1.608 MB / 403 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.2596, allocations: 3.166 MB / 406.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2597, allocations: 3.938 kB / 406.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2601, allocations: 55.69 kB / 406.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.2601, allocations: 7.875 kB / 406.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.2634, allocations: 1.42 MB / 407.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.2637, allocations: 147.6 kB / 407.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2638, allocations: 29.09 kB / 407.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.2639, allocations: 51.84 kB / 407.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.264, allocations: 55.7 kB / 407.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.264, allocations: 11.98 kB / 407.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2655, allocations: 1.378 MB / 409.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.2656, allocations: 39.84 kB / 409.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.2657, allocations: 51.67 kB / 409.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2667, allocations: 1.209 MB / 410.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2668, allocations: 0 / 410.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2668, allocations: 0 / 410.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2668, allocations: 0 / 410.6 MB, free: 15.78 MB / 334.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.0009363/0.2677, allocations: 0.5614 MB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2678, allocations: 8.031 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.2678, allocations: 12.84 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2681, allocations: 224 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2681, allocations: 7.938 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.2681, allocations: 15.91 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2684, allocations: 137 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2684, allocations: 0 / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2684, allocations: 7.938 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2684, allocations: 4 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2686, allocations: 51.95 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.2692, allocations: 384.6 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2695, allocations: 130.5 kB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.2696, allocations: 40.84 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.2696, allocations: 0 / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2697, allocations: 30.56 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.2697, allocations: 4 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002112/0.2718, allocations: 1.218 MB / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.2719, allocations: 136.5 kB / 413.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.272, allocations: 170.4 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.2721, allocations: 33.64 kB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.2722, allocations: 108.5 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.2722, allocations: 55.2 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.2723, allocations: 45.7 kB / 414 MB, free: 12.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2724, allocations: 326.8 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.2726, allocations: 95.94 kB / 414.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2728, allocations: 131.3 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.273, allocations: 208.9 kB / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2731, allocations: 0 / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005078/0.2736, allocations: 314 kB / 415 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2736, allocations: 4 kB / 415 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2736, allocations: 4 kB / 415 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.2738, allocations: 40.81 kB / 415.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.274, allocations: 31.98 kB / 415.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2753, allocations: 1.511 MB / 416.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.2754, allocations: 8.172 kB / 416.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2754, allocations: 12 kB / 416.6 MB, free: 9.219 MB / 334.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.0001343/0.2756, allocations: 141.8 kB / 416.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.2756, allocations: 19.8 kB / 416.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.2757, allocations: 25.52 kB / 416.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2757, allocations: 3.938 kB / 416.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2757, allocations: 0 / 416.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2757, allocations: 0 / 416.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.276, allocations: 241.6 kB / 417.1 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.276, allocations: 11.98 kB / 417.1 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.2763, allocations: 55.97 kB / 417.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2763, allocations: 0 / 417.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2763, allocations: 0 / 417.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2763, allocations: 3.938 kB / 417.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2763, allocations: 0 / 417.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.2768, allocations: 415.1 kB / 417.5 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.2769, allocations: 89.02 kB / 417.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2769, allocations: 0 / 417.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.277, allocations: 19.91 kB / 417.6 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2771, allocations: 7.984 kB / 417.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.2771, allocations: 4 kB / 417.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.2772, allocations: 132.6 kB / 417.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2772, allocations: 0 / 417.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001532/0.2787, allocations: 0.5117 MB / 418.3 MB, free: 7.469 MB / 334.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.001022/0.2798, allocations: 0.5576 MB / 418.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.2805, allocations: 393.8 kB / 419.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2805, allocations: 0 / 419.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2806, allocations: 87.89 kB / 419.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.281, allocations: 31.98 kB / 419.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.2816, allocations: 423.1 kB / 419.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2819, allocations: 0.7358 MB / 420.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.282, allocations: 19.38 kB / 420.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.282, allocations: 0 / 420.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Templates: time 0.009754/0.2918, allocations: 6.218 MB / 426.7 MB, free: 14.93 MB / 350.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 -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