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.001671/0.001671, allocations: 196.2 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.6 MB / 244.3 MB, free: 8.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007591/0.000759, allocations: 89.94 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002118/0.0002118, allocations: 12 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2135, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001361/0.2149, allocations: 1.495 MB / 409 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.2188, allocations: 3.407 MB / 412.4 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2189, allocations: 7.875 kB / 412.4 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.2192, allocations: 107.5 kB / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.2193, allocations: 27.72 kB / 412.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2217, allocations: 1.369 MB / 413.9 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.2219, allocations: 267.1 kB / 414.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.222, allocations: 28.72 kB / 414.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2221, allocations: 95.62 kB / 414.3 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.2223, allocations: 91.48 kB / 414.4 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.2223, allocations: 8 kB / 414.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.2225, allocations: 131.7 kB / 414.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.2226, allocations: 59.75 kB / 414.6 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.2226, allocations: 57.58 kB / 414.6 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2228, allocations: 240.4 kB / 414.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2228, allocations: 0 / 414.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2228, allocations: 0 / 414.8 MB, free: 20.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.2228, allocations: 0 / 414.8 MB, free: 20.48 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.0005699/0.2234, allocations: 0.5451 MB / 415.4 MB, free: 19.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.2234, allocations: 8.031 kB / 415.4 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.2235, allocations: 31.62 kB / 415.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2237, allocations: 271.2 kB / 415.7 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2237, allocations: 8.188 kB / 415.7 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2238, allocations: 15.91 kB / 415.7 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.224, allocations: 211.7 kB / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.224, allocations: 0 / 415.9 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2241, allocations: 8 kB / 415.9 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2241, allocations: 4 kB / 415.9 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2242, allocations: 92.44 kB / 416 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.2249, allocations: 0.4891 MB / 416.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.2251, allocations: 170.3 kB / 416.7 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.2252, allocations: 56.83 kB / 416.7 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2252, allocations: 4 kB / 416.7 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.2252, allocations: 46.55 kB / 416.8 MB, free: 18.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2253, allocations: 0 / 416.8 MB, free: 18.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003703/0.2256, allocations: 225.4 kB / 417 MB, free: 18.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.2257, allocations: 282.7 kB / 417.3 MB, free: 17.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2259, allocations: 284.5 kB / 417.6 MB, free: 17.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2259, allocations: 25.7 kB / 417.6 MB, free: 17.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.226, allocations: 168.4 kB / 417.8 MB, free: 17.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.226, allocations: 47.25 kB / 417.8 MB, free: 17.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.226, allocations: 4 kB / 417.8 MB, free: 17.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.2261, allocations: 342.8 kB / 418.1 MB, free: 16.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2262, allocations: 99.94 kB / 418.2 MB, free: 16.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2264, allocations: 188.9 kB / 418.4 MB, free: 16.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2266, allocations: 127.9 kB / 418.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2266, allocations: 0 / 418.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003513/0.2269, allocations: 305.3 kB / 418.8 MB, free: 16.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.227, allocations: 4 kB / 418.8 MB, free: 16.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.227, allocations: 7.984 kB / 418.9 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.227, allocations: 3.938 kB / 418.9 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.2272, allocations: 47.97 kB / 418.9 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2273, allocations: 0 / 418.9 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.2274, allocations: 23.75 kB / 418.9 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2274, allocations: 7.984 kB / 418.9 MB, free: 16.06 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.562e-05/0.2275, allocations: 165.6 kB / 419.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.2275, allocations: 23.72 kB / 419.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.2276, allocations: 29.97 kB / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2276, allocations: 0 / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2276, allocations: 0 / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2276, allocations: 0 / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2279, allocations: 273.5 kB / 419.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2279, allocations: 3.938 kB / 419.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.2281, allocations: 24.08 kB / 419.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2281, allocations: 3.938 kB / 419.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2281, allocations: 12 kB / 419.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2281, allocations: 0 / 419.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2281, allocations: 0 / 419.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.2284, allocations: 339 kB / 419.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.2285, allocations: 100.8 kB / 419.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.2285, allocations: 12.06 kB / 419.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.2287, allocations: 15.98 kB / 419.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.2287, allocations: 4 kB / 419.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2287, allocations: 0 / 419.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2288, allocations: 195.1 kB / 420.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2288, allocations: 0 / 420.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.2291, allocations: 83.98 kB / 420.2 MB, free: 14.7 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.0001882/0.2293, allocations: 147.1 kB / 420.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.2297, allocations: 276.9 kB / 420.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2297, allocations: 0 / 420.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2298, allocations: 67.95 kB / 420.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2302, allocations: 77.31 kB / 420.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.231, allocations: 0.661 MB / 421.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2312, allocations: 0.7716 MB / 422.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.2313, allocations: 19.44 kB / 422.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2313, allocations: 0 / 422.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Templates: time 0.004755/0.236, allocations: 3.842 MB / 426 MB, free: 8.773 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