Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.0009171, allocations: 103.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009551/0.0009552, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2225, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002253/0.2248, allocations: 1.862 MB / 401.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.229, allocations: 3.889 MB / 405.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2291, allocations: 3.938 kB / 405.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.2295, allocations: 115.5 kB / 405.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.2296, allocations: 39.64 kB / 405.4 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.232, allocations: 1.39 MB / 406.8 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2323, allocations: 279.2 kB / 407 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.2324, allocations: 34.28 kB / 407.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2325, allocations: 103.5 kB / 407.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2326, allocations: 103.4 kB / 407.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.2326, allocations: 4 kB / 407.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.2328, allocations: 135.7 kB / 407.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.2329, allocations: 71.73 kB / 407.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.233, allocations: 91.34 kB / 407.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2333, allocations: 326.9 kB / 407.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2333, allocations: 0 / 407.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2333, allocations: 0 / 407.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2333, allocations: 0 / 407.9 MB, free: 24.92 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.0006414/0.2339, allocations: 0.5802 MB / 408.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.234, allocations: 16.81 kB / 408.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.234, allocations: 28.56 kB / 408.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2343, allocations: 280.2 kB / 408.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2343, allocations: 11.94 kB / 408.8 MB, free: 23.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2344, allocations: 23.92 kB / 408.8 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.2346, allocations: 198.1 kB / 409 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2346, allocations: 0 / 409 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2346, allocations: 12 kB / 409 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2346, allocations: 7.922 kB / 409 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2348, allocations: 87.94 kB / 409.1 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.2355, allocations: 496.5 kB / 409.6 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2357, allocations: 162.5 kB / 409.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.2358, allocations: 56.83 kB / 409.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2358, allocations: 4 kB / 409.8 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.2358, allocations: 42.59 kB / 409.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.2359, allocations: 0 / 409.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000353/0.2362, allocations: 221.2 kB / 410.1 MB, free: 22.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.2363, allocations: 286.7 kB / 410.4 MB, free: 22.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2365, allocations: 284.5 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2365, allocations: 33.7 kB / 410.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.2365, allocations: 152.4 kB / 410.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2366, allocations: 47.47 kB / 410.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.2367, allocations: 65.61 kB / 410.9 MB, free: 21.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.2367, allocations: 338.8 kB / 411.3 MB, free: 21.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2369, allocations: 107.9 kB / 411.4 MB, free: 21.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.237, allocations: 177 kB / 411.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2373, allocations: 209.2 kB / 411.7 MB, free: 20.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2373, allocations: 4 kB / 411.7 MB, free: 20.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003314/0.2376, allocations: 305.4 kB / 412 MB, free: 20.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2376, allocations: 8 kB / 412.1 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2377, allocations: 4 kB / 412.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2377, allocations: 0 / 412.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.2379, allocations: 51.89 kB / 412.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2379, allocations: 4 kB / 412.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.238, allocations: 23.69 kB / 412.1 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.238, allocations: 8 kB / 412.1 MB, free: 20.32 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.676e-05/0.2381, allocations: 157.8 kB / 412.3 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.2382, allocations: 23.81 kB / 412.3 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.2382, allocations: 25.92 kB / 412.3 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2382, allocations: 11.92 kB / 412.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2383, allocations: 0 / 412.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2383, allocations: 0 / 412.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2384, allocations: 265.5 kB / 412.6 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2385, allocations: 0 / 412.6 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.2386, allocations: 27.92 kB / 412.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2386, allocations: 7.984 kB / 412.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.2386, allocations: 8 kB / 412.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2386, allocations: 3.938 kB / 412.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2387, allocations: 0 / 412.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.2404, allocations: 1.871 MB / 414.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2404, allocations: 100.9 kB / 414.6 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2405, allocations: 11.94 kB / 414.6 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2406, allocations: 15.98 kB / 414.7 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2406, allocations: 4 kB / 414.7 MB, free: 17.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.2407, allocations: 3.984 kB / 414.7 MB, free: 17.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2408, allocations: 195.1 kB / 414.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2408, allocations: 0 / 414.9 MB, free: 17.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.2412, allocations: 95.86 kB / 415 MB, free: 17.29 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.0001935/0.2414, allocations: 143.2 kB / 415.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2417, allocations: 288.9 kB / 415.4 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2417, allocations: 0 / 415.4 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.2418, allocations: 59.91 kB / 415.4 MB, free: 16.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.2422, allocations: 81.14 kB / 415.5 MB, free: 16.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.2431, allocations: 0.7591 MB / 416.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2432, allocations: 0.7716 MB / 417 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2433, allocations: 50.02 kB / 417.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.2434, allocations: 23.44 kB / 417.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2434, allocations: 4 kB / 417.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of Templates: time 0.005465/0.2489, allocations: 3.881 MB / 421 MB, free: 11.18 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches