Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 191.6 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.6 MB / 244.7 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008655, allocations: 103.6 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 8 kB / 356.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2547, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002167/0.2569, allocations: 1.308 MB / 409.3 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00713/0.2641, allocations: 3.082 MB / 412.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2643, allocations: 0 / 412.4 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.2647, allocations: 47.75 kB / 412.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.2648, allocations: 3.938 kB / 412.5 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.2693, allocations: 1.058 MB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.2696, allocations: 127.6 kB / 413.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2697, allocations: 17.12 kB / 413.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2698, allocations: 51.83 kB / 413.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.27, allocations: 43.77 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.27, allocations: 4 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.272, allocations: 1.105 MB / 414.9 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.2721, allocations: 31.89 kB / 414.9 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.2722, allocations: 69.44 kB / 415 MB, free: 20.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2735, allocations: 1.077 MB / 416 MB, free: 19.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2736, allocations: 11.92 kB / 416.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2736, allocations: 4 kB / 416.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2736, allocations: 3.938 kB / 416.1 MB, free: 19.67 MB / 298.7 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.001184/0.2748, allocations: 0.5342 MB / 416.6 MB, free: 19.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2749, allocations: 8.031 kB / 416.6 MB, free: 19.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.2749, allocations: 16.75 kB / 416.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.2752, allocations: 220 kB / 416.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2752, allocations: 4.375 kB / 416.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2753, allocations: 16.36 kB / 416.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2756, allocations: 125 kB / 417 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2757, allocations: 4 kB / 417 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2757, allocations: 0 / 417 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2757, allocations: 0 / 417 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.276, allocations: 67.95 kB / 417.1 MB, free: 18.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.2767, allocations: 380.4 kB / 417.4 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.2772, allocations: 142.5 kB / 417.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2774, allocations: 44.83 kB / 417.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2774, allocations: 0 / 417.6 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2774, allocations: 34.56 kB / 417.6 MB, free: 17.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.2775, allocations: 0 / 417.6 MB, free: 17.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002817/0.2803, allocations: 1.221 MB / 418.9 MB, free: 16.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2803, allocations: 132.5 kB / 419 MB, free: 16.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.2805, allocations: 175.3 kB / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2805, allocations: 29.7 kB / 419.2 MB, free: 16.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.2806, allocations: 112.5 kB / 419.3 MB, free: 16.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.2807, allocations: 59.11 kB / 419.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.2807, allocations: 4 kB / 419.4 MB, free: 16.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.2808, allocations: 326.8 kB / 419.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.281, allocations: 97.16 kB / 419.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.2813, allocations: 147.2 kB / 419.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.2818, allocations: 200.7 kB / 420.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2818, allocations: 0 / 420.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007452/0.2826, allocations: 300.4 kB / 420.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2826, allocations: 8 kB / 420.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.2826, allocations: 4 kB / 420.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.2829, allocations: 44.81 kB / 420.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2831, allocations: 35.92 kB / 420.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.2843, allocations: 1.401 MB / 421.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2845, allocations: 12.03 kB / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.2845, allocations: 4 kB / 421.9 MB, free: 13.29 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.2847, allocations: 138 kB / 422.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.2848, allocations: 19.84 kB / 422.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.2848, allocations: 25.52 kB / 422.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2848, allocations: 4 kB / 422.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2849, allocations: 0 / 422.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2849, allocations: 0 / 422.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.2852, allocations: 253.5 kB / 422.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2852, allocations: 4 kB / 422.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.2857, allocations: 51.91 kB / 422.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2857, allocations: 0 / 422.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.2857, allocations: 8 kB / 422.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2857, allocations: 4 kB / 422.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2858, allocations: 7.922 kB / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.2865, allocations: 414.8 kB / 422.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.2865, allocations: 92.95 kB / 422.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2866, allocations: 4 kB / 422.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2868, allocations: 8 kB / 422.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2869, allocations: 11.92 kB / 422.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2869, allocations: 8 kB / 423 MB, free: 12.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.287, allocations: 123.2 kB / 423.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.287, allocations: 0 / 423.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001943/0.289, allocations: 0.5156 MB / 423.6 MB, free: 11.54 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.2907, allocations: 0.5547 MB / 424.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.2915, allocations: 393.8 kB / 424.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2915, allocations: 0 / 424.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2917, allocations: 91.89 kB / 424.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.2923, allocations: 35.91 kB / 424.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.2931, allocations: 478.3 kB / 425.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.2932, allocations: 0.7283 MB / 425.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.2933, allocations: 15.44 kB / 425.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2933, allocations: 0 / 425.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of Templates: time 0.01303/0.3064, allocations: 6.174 MB / 432 MB, free: 3 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches