Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007879/0.0007881, allocations: 86.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 15.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2697, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001629/0.2713, allocations: 1.483 MB / 376.6 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.2761, allocations: 3.409 MB / 380 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.2763, allocations: 9.188 kB / 380 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.2767, allocations: 104.1 kB / 380.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.2768, allocations: 28.22 kB / 380.1 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.2806, allocations: 1.365 MB / 381.5 MB, free: 40.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.2809, allocations: 264 kB / 381.7 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2811, allocations: 33.92 kB / 381.8 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.2812, allocations: 96.38 kB / 381.9 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2813, allocations: 95.19 kB / 381.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.2814, allocations: 9.438 kB / 382 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2816, allocations: 118.2 kB / 382.1 MB, free: 40.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2818, allocations: 63.83 kB / 382.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.2819, allocations: 111.8 kB / 382.2 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2821, allocations: 240.7 kB / 382.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2821, allocations: 4 kB / 382.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2822, allocations: 0 / 382.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2822, allocations: 1.125 kB / 382.5 MB, free: 40.21 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006956/0.2829, allocations: 0.5399 MB / 383 MB, free: 39.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2829, allocations: 8.25 kB / 383 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.283, allocations: 31.78 kB / 383.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.2833, allocations: 278.4 kB / 383.3 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2833, allocations: 13.38 kB / 383.3 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.2833, allocations: 17.84 kB / 383.4 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2836, allocations: 208.8 kB / 383.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2837, allocations: 0 / 383.6 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2837, allocations: 6.469 kB / 383.6 MB, free: 39.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2837, allocations: 2.344 kB / 383.6 MB, free: 39.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.2839, allocations: 96.66 kB / 383.7 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.2846, allocations: 0.4902 MB / 384.2 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.2848, allocations: 162.7 kB / 384.3 MB, free: 38.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.285, allocations: 58.3 kB / 384.4 MB, free: 38.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.285, allocations: 1.219 kB / 384.4 MB, free: 38.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.285, allocations: 40.81 kB / 384.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.285, allocations: 4.938 kB / 384.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004345/0.2855, allocations: 222.7 kB / 384.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.2855, allocations: 285.1 kB / 384.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.2858, allocations: 285.4 kB / 385.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2858, allocations: 31.98 kB / 385.2 MB, free: 37.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.2859, allocations: 149.7 kB / 385.4 MB, free: 37.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.286, allocations: 57.66 kB / 385.4 MB, free: 37.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.286, allocations: 1.031 kB / 385.4 MB, free: 37.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.286, allocations: 342.5 kB / 385.8 MB, free: 37.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.2862, allocations: 99.55 kB / 385.9 MB, free: 37.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2864, allocations: 190.7 kB / 386.1 MB, free: 37.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.2867, allocations: 204.7 kB / 386.3 MB, free: 37.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2867, allocations: 1.125 kB / 386.3 MB, free: 37.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004251/0.2872, allocations: 310.1 kB / 386.6 MB, free: 36.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2872, allocations: 7.938 kB / 386.6 MB, free: 36.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.2872, allocations: 11.98 kB / 386.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2872, allocations: 0 / 386.6 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2875, allocations: 47.97 kB / 386.6 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2875, allocations: 112 / 386.6 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.2876, allocations: 35.64 kB / 386.7 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2876, allocations: 12 kB / 386.7 MB, free: 36.78 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0001013/0.2877, allocations: 145.8 kB / 386.8 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.2878, allocations: 31.62 kB / 386.8 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.2878, allocations: 25.97 kB / 386.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2879, allocations: 4 kB / 386.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2879, allocations: 4 kB / 386.9 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2879, allocations: 3.938 kB / 386.9 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2881, allocations: 265.5 kB / 387.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2881, allocations: 0 / 387.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2883, allocations: 27.98 kB / 387.2 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2883, allocations: 0 / 387.2 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2883, allocations: 4 kB / 387.2 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2883, allocations: 4 kB / 387.2 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2883, allocations: 3.938 kB / 387.2 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.2887, allocations: 339.1 kB / 387.5 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.2887, allocations: 108.7 kB / 387.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2888, allocations: 8.062 kB / 387.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.2889, allocations: 15.98 kB / 387.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2889, allocations: 7.938 kB / 387.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2889, allocations: 11.97 kB / 387.7 MB, free: 35.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2891, allocations: 191.1 kB / 387.8 MB, free: 35.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2891, allocations: 0 / 387.8 MB, free: 35.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.2894, allocations: 79.89 kB / 387.9 MB, free: 35.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002177/0.2896, allocations: 140.8 kB / 388.1 MB, free: 35.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.29, allocations: 289.6 kB / 388.3 MB, free: 34.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.29, allocations: 0 / 388.3 MB, free: 34.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.2901, allocations: 71.89 kB / 388.4 MB, free: 34.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2905, allocations: 62.83 kB / 388.5 MB, free: 34.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.2914, allocations: 0.6533 MB / 389.1 MB, free: 34.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2916, allocations: 0.7716 MB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.2916, allocations: 23.44 kB / 389.9 MB, free: 33.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2916, allocations: 0 / 389.9 MB, free: 33.36 MB / 298.7 MB Notification: Performance of Templates: time 0.004733/0.2964, allocations: 3.842 MB / 393.8 MB, free: 29.51 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches