Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.001891, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2551, allocations: 50.54 MB / 409.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002828/0.258, allocations: 1.845 MB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.2637, allocations: 3.55 MB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.2639, allocations: 3.938 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.2645, allocations: 131.3 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2646, allocations: 39.72 kB / 415.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.2691, allocations: 1.781 MB / 417.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.2696, allocations: 303.2 kB / 417.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2697, allocations: 38.08 kB / 417.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.27, allocations: 115.5 kB / 417.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2702, allocations: 103.4 kB / 417.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.2702, allocations: 12 kB / 417.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2706, allocations: 147.7 kB / 418 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2707, allocations: 75.73 kB / 418 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2708, allocations: 99.34 kB / 418.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.2713, allocations: 330.9 kB / 418.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2713, allocations: 0 / 418.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2713, allocations: 4 kB / 418.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2713, allocations: 0 / 418.5 MB, free: 9.145 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009791/0.2723, allocations: 0.5841 MB / 419 MB, free: 8.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2724, allocations: 8.031 kB / 419.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.2725, allocations: 32.56 kB / 419.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.2729, allocations: 284.2 kB / 419.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2729, allocations: 12.56 kB / 419.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.273, allocations: 19.94 kB / 419.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.2734, allocations: 202.1 kB / 419.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2734, allocations: 0 / 419.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2734, allocations: 8 kB / 419.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2734, allocations: 0 / 419.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2736, allocations: 91.81 kB / 419.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.2744, allocations: 492.5 kB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.2748, allocations: 170.4 kB / 420.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2749, allocations: 56.83 kB / 420.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2749, allocations: 4 kB / 420.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.275, allocations: 30.56 kB / 420.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.275, allocations: 0 / 420.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004827/0.2755, allocations: 225.2 kB / 420.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.2756, allocations: 294.8 kB / 420.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.2759, allocations: 284.4 kB / 421.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.276, allocations: 29.7 kB / 421.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2761, allocations: 160.4 kB / 421.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.2762, allocations: 43.36 kB / 421.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2763, allocations: 61.69 kB / 421.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2764, allocations: 338.8 kB / 421.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2766, allocations: 103.9 kB / 421.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.2768, allocations: 184.5 kB / 422.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.2772, allocations: 209.4 kB / 422.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2772, allocations: 4 kB / 422.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004791/0.2777, allocations: 305.4 kB / 422.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2777, allocations: 4 kB / 422.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.2777, allocations: 4 kB / 422.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2777, allocations: 0 / 422.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.278, allocations: 55.95 kB / 422.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.278, allocations: 3.938 kB / 422.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2782, allocations: 27.62 kB / 422.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2782, allocations: 12 kB / 422.7 MB, free: 4.543 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.2784, allocations: 146 kB / 422.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.2784, allocations: 23.72 kB / 422.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.2785, allocations: 33.97 kB / 422.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2785, allocations: 208 / 422.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2785, allocations: 7.875 kB / 422.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2785, allocations: 7.938 kB / 422.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.2788, allocations: 265.5 kB / 423.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2788, allocations: 0 / 423.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.279, allocations: 27.92 kB / 423.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.279, allocations: 4 kB / 423.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.2791, allocations: 4 kB / 423.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2791, allocations: 0 / 423.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2791, allocations: 0 / 423.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.2796, allocations: 334.6 kB / 423.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.2796, allocations: 108.6 kB / 423.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.2797, allocations: 7.984 kB / 423.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2798, allocations: 12.06 kB / 423.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.2799, allocations: 15.92 kB / 423.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2799, allocations: 4 kB / 423.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2801, allocations: 199.1 kB / 423.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2801, allocations: 0 / 423.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000364/0.2805, allocations: 68 kB / 424 MB, free: 3.207 MB / 334.1 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 (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.000294/0.2808, allocations: 139.2 kB / 424.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.2813, allocations: 296.8 kB / 424.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2813, allocations: 0 / 424.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2814, allocations: 63.89 kB / 424.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.2819, allocations: 73.48 kB / 424.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.283, allocations: 0.5729 MB / 425.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.2835, allocations: 0.7753 MB / 425.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.2835, allocations: 23.44 kB / 425.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of SimCode: time 2.444e-06/0.2836, allocations: 0 / 425.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of Templates: time 0.00694/0.2905, allocations: 3.916 MB / 429.8 MB, free: 13.28 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches