Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.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.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_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_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009916/0.0009918, allocations: 195.5 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.6 MB / 244.7 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007534/0.0007535, allocations: 102.9 kB / 296.8 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000237/0.000237, allocations: 8 kB / 356.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2253, allocations: 51.3 MB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001536/0.2269, allocations: 1.495 MB / 409.5 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003762/0.2307, allocations: 3.419 MB / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2308, allocations: 3.938 kB / 413 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.2312, allocations: 107.5 kB / 413.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.2312, allocations: 31.72 kB / 413.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.2337, allocations: 1.368 MB / 414.5 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.2339, allocations: 263.1 kB / 414.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.234, allocations: 24.75 kB / 414.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2342, allocations: 103.6 kB / 414.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.2343, allocations: 99.47 kB / 414.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2343, allocations: 4 kB / 414.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2345, allocations: 119.8 kB / 415.1 MB, free: 20.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.2346, allocations: 63.73 kB / 415.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.2346, allocations: 113.1 kB / 415.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.2348, allocations: 240.4 kB / 415.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2348, allocations: 4 kB / 415.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2348, allocations: 0 / 415.5 MB, free: 20.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2349, allocations: 0 / 415.5 MB, free: 20.33 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.0005479/0.2354, allocations: 0.5374 MB / 416 MB, free: 19.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2354, allocations: 8.031 kB / 416 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.2355, allocations: 32.56 kB / 416 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2357, allocations: 280.2 kB / 416.3 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2358, allocations: 12.56 kB / 416.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.2358, allocations: 15.94 kB / 416.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.2361, allocations: 202.1 kB / 416.5 MB, free: 19.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2361, allocations: 3.984 kB / 416.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2361, allocations: 12 kB / 416.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2361, allocations: 0 / 416.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2363, allocations: 99.81 kB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.2369, allocations: 496.5 kB / 417.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2372, allocations: 170.4 kB / 417.3 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.2373, allocations: 56.83 kB / 417.4 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2373, allocations: 4 kB / 417.4 MB, free: 18.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2373, allocations: 38.56 kB / 417.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.2373, allocations: 0 / 417.4 MB, free: 18.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003993/0.2377, allocations: 225.3 kB / 417.6 MB, free: 17.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2378, allocations: 286.8 kB / 417.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.238, allocations: 292.3 kB / 418.2 MB, free: 17.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.238, allocations: 29.7 kB / 418.2 MB, free: 17.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2381, allocations: 156.5 kB / 418.4 MB, free: 17.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2381, allocations: 51.25 kB / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.2381, allocations: 0 / 418.4 MB, free: 17.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.2382, allocations: 338.8 kB / 418.8 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2383, allocations: 103.9 kB / 418.9 MB, free: 16.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.2385, allocations: 181 kB / 419 MB, free: 16.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.2388, allocations: 213.4 kB / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2388, allocations: 0 / 419.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003701/0.2392, allocations: 313.1 kB / 419.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2392, allocations: 4 kB / 419.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.2393, allocations: 7.984 kB / 419.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2393, allocations: 0 / 419.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2395, allocations: 47.97 kB / 419.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2396, allocations: 0 / 419.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.2397, allocations: 31.66 kB / 419.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2397, allocations: 15.98 kB / 419.6 MB, free: 15.81 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 9.464e-05/0.2398, allocations: 141.8 kB / 419.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2398, allocations: 27.62 kB / 419.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.2399, allocations: 29.97 kB / 419.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2399, allocations: 0 / 419.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2399, allocations: 4 kB / 419.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2399, allocations: 3.938 kB / 419.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.2401, allocations: 265.6 kB / 420.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2401, allocations: 3.938 kB / 420.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2403, allocations: 31.92 kB / 420.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2403, allocations: 0 / 420.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2403, allocations: 8 kB / 420.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2403, allocations: 0 / 420.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2403, allocations: 96 / 420.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.2407, allocations: 346.8 kB / 420.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.2408, allocations: 104.8 kB / 420.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.2408, allocations: 8 kB / 420.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2409, allocations: 19.92 kB / 420.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.241, allocations: 7.938 kB / 420.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.241, allocations: 4 kB / 420.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2411, allocations: 195.1 kB / 420.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2411, allocations: 0 / 420.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.2414, allocations: 79.89 kB / 420.9 MB, free: 14.46 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.0002027/0.2416, allocations: 143.2 kB / 421 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.242, allocations: 276.9 kB / 421.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.242, allocations: 4 kB / 421.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2421, allocations: 67.89 kB / 421.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.2425, allocations: 62.36 kB / 421.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008121/0.2433, allocations: 0.6611 MB / 422.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2435, allocations: 0.7716 MB / 422.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.2436, allocations: 19.44 kB / 422.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2436, allocations: 0 / 422.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of Templates: time 0.004588/0.2482, allocations: 3.848 MB / 426.7 MB, free: 8.535 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches