Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001063/0.001063, allocations: 187 kB / 17.92 MB, free: 3.855 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.182/1.182, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.00084/0.0008399, allocations: 102.5 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009099/0.0009099, allocations: 35.95 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1899, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002615/0.1926, allocations: 1.868 MB / 375.7 MB, free: 44.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.1976, allocations: 3.935 MB / 379.6 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1978, allocations: 6.188 kB / 379.6 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.1982, allocations: 115.6 kB / 379.7 MB, free: 41.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1984, allocations: 28.03 kB / 379.8 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.2015, allocations: 1.383 MB / 381.1 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.2018, allocations: 285.2 kB / 381.4 MB, free: 40.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.2019, allocations: 40.7 kB / 381.5 MB, free: 40.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.202, allocations: 95.83 kB / 381.6 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2021, allocations: 104.5 kB / 381.7 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.2021, allocations: 7.125 kB / 381.7 MB, free: 40.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2024, allocations: 140.1 kB / 381.8 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.2025, allocations: 68.92 kB / 381.9 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.2025, allocations: 96.38 kB / 382 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.2028, allocations: 322.3 kB / 382.3 MB, free: 39.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2028, allocations: 4 kB / 382.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2028, allocations: 5.5 kB / 382.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2028, allocations: 0 / 382.3 MB, free: 39.96 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.0006151/0.2035, allocations: 0.5797 MB / 382.9 MB, free: 39.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2035, allocations: 9.094 kB / 382.9 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.2036, allocations: 36.59 kB / 382.9 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2038, allocations: 273.9 kB / 383.2 MB, free: 39.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2038, allocations: 12.67 kB / 383.2 MB, free: 39.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.2039, allocations: 18.97 kB / 383.2 MB, free: 39.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.2041, allocations: 203.5 kB / 383.4 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2041, allocations: 1.125 kB / 383.4 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2042, allocations: 10.44 kB / 383.4 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2042, allocations: 5.406 kB / 383.4 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2043, allocations: 85.28 kB / 383.5 MB, free: 38.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.205, allocations: 495.8 kB / 384 MB, free: 38.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2052, allocations: 166.3 kB / 384.2 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.2053, allocations: 61.05 kB / 384.2 MB, free: 38.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2053, allocations: 1.094 kB / 384.2 MB, free: 38.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.2054, allocations: 36.75 kB / 384.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2054, allocations: 1.031 kB / 384.3 MB, free: 38.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003758/0.2057, allocations: 224.1 kB / 384.5 MB, free: 38.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.2058, allocations: 286.2 kB / 384.8 MB, free: 37.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.206, allocations: 287.8 kB / 385 MB, free: 37.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.206, allocations: 27.83 kB / 385.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.2061, allocations: 157.9 kB / 385.2 MB, free: 37.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2062, allocations: 42.05 kB / 385.3 MB, free: 37.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.2062, allocations: 69.05 kB / 385.3 MB, free: 37.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.2063, allocations: 337.5 kB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2065, allocations: 98.16 kB / 385.7 MB, free: 37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2067, allocations: 186.3 kB / 385.9 MB, free: 36.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.2069, allocations: 211 kB / 386.1 MB, free: 36.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2069, allocations: 0 / 386.1 MB, free: 36.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003586/0.2073, allocations: 303.1 kB / 386.4 MB, free: 36.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2073, allocations: 8 kB / 386.4 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.2074, allocations: 8 kB / 386.4 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2074, allocations: 4 kB / 386.5 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.2076, allocations: 51.89 kB / 386.5 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2076, allocations: 7.984 kB / 386.5 MB, free: 36.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.2077, allocations: 27.62 kB / 386.5 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2077, allocations: 8 kB / 386.5 MB, free: 36.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/0.2078, allocations: 153.8 kB / 386.7 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.2079, allocations: 23.83 kB / 386.7 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.2079, allocations: 33.91 kB / 386.8 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2079, allocations: 4 kB / 386.8 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2079, allocations: 4 kB / 386.8 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.208, allocations: 3.938 kB / 386.8 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2081, allocations: 269.4 kB / 387 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2082, allocations: 0 / 387 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.2083, allocations: 23.98 kB / 387.1 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2083, allocations: 0 / 387.1 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2083, allocations: 8 kB / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2083, allocations: 96 / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2083, allocations: 3.938 kB / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.21, allocations: 1.874 MB / 388.9 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.21, allocations: 100.7 kB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2101, allocations: 8.062 kB / 389 MB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2102, allocations: 15.98 kB / 389.1 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2102, allocations: 7.984 kB / 389.1 MB, free: 33.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2102, allocations: 4 kB / 389.1 MB, free: 33.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.2103, allocations: 191.1 kB / 389.3 MB, free: 33.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.2104, allocations: 96 / 389.3 MB, free: 33.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00037/0.2107, allocations: 99.86 kB / 389.4 MB, free: 33.41 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 (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.0002099/0.2109, allocations: 135.2 kB / 389.5 MB, free: 33.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.2113, allocations: 289.8 kB / 389.8 MB, free: 32.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2113, allocations: 0 / 389.8 MB, free: 32.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.2114, allocations: 63.91 kB / 389.8 MB, free: 32.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2118, allocations: 80.5 kB / 389.9 MB, free: 32.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.2126, allocations: 0.7662 MB / 390.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.2128, allocations: 0.7677 MB / 391.4 MB, free: 31.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2129, allocations: 49.91 kB / 391.5 MB, free: 31.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2129, allocations: 19.44 kB / 391.5 MB, free: 31.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2129, allocations: 0 / 391.5 MB, free: 31.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005451/0.2184, allocations: 3.904 MB / 395.4 MB, free: 27.27 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches