Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 115.1 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 215.2 kB / 21.42 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 55.91 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1224, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003875/0.1262, allocations: 1.846 MB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2347/0.3609, allocations: 3.566 MB / 432.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3611, allocations: 15.06 kB / 432.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.3615, allocations: 130 kB / 433 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.3616, allocations: 38.77 kB / 433.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.3655, allocations: 1.78 MB / 434.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.3659, allocations: 308.6 kB / 435.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.366, allocations: 22.88 kB / 435.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3662, allocations: 114.8 kB / 435.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3663, allocations: 114.8 kB / 435.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.3663, allocations: 11.31 kB / 435.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.3666, allocations: 151.3 kB / 435.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3667, allocations: 75.69 kB / 435.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.3668, allocations: 101 kB / 435.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3673, allocations: 339.9 kB / 436.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3673, allocations: 0 / 436.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3673, allocations: 1.125 kB / 436.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3673, allocations: 3.781 kB / 436.1 MB, free: 7.766 MB / 350.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.0007816/0.368, allocations: 0.5827 MB / 436.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3681, allocations: 8.469 kB / 436.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.3682, allocations: 32.28 kB / 436.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.3686, allocations: 288.5 kB / 437 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3686, allocations: 12.84 kB / 437 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.3687, allocations: 25.12 kB / 437 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.369, allocations: 204.7 kB / 437.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.369, allocations: 4 kB / 437.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.369, allocations: 4.891 kB / 437.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.369, allocations: 3.266 kB / 437.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3692, allocations: 93.2 kB / 437.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.3699, allocations: 484.7 kB / 437.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3702, allocations: 168.6 kB / 437.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3703, allocations: 58.5 kB / 438 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3703, allocations: 1.625 kB / 438 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3703, allocations: 37.25 kB / 438 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3703, allocations: 0 / 438 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004693/0.3708, allocations: 218.6 kB / 438.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.3709, allocations: 291.1 kB / 438.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3711, allocations: 282.2 kB / 438.8 MB, free: 6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3712, allocations: 31.58 kB / 438.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.3713, allocations: 158 kB / 439 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3713, allocations: 50.44 kB / 439.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.3714, allocations: 61.59 kB / 439.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.3715, allocations: 342.4 kB / 439.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.3716, allocations: 106.2 kB / 439.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3719, allocations: 173.6 kB / 439.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.3722, allocations: 213.2 kB / 439.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3722, allocations: 96 / 439.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00045/0.3726, allocations: 310.8 kB / 440.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3727, allocations: 4.812 kB / 440.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.3727, allocations: 6.297 kB / 440.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3727, allocations: 1.641 kB / 440.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.373, allocations: 54.45 kB / 440.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.373, allocations: 2.484 kB / 440.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3731, allocations: 28.7 kB / 440.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3731, allocations: 10.09 kB / 440.3 MB, free: 5.062 MB / 350.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.0001105/0.3732, allocations: 149.9 kB / 440.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.3733, allocations: 23.95 kB / 440.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.3733, allocations: 31.91 kB / 440.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3733, allocations: 2.375 kB / 440.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3733, allocations: 0.7031 kB / 440.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3733, allocations: 0.5156 kB / 440.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3736, allocations: 277 kB / 440.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3736, allocations: 0 / 440.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.3738, allocations: 22.64 kB / 440.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3738, allocations: 1.344 kB / 440.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.3738, allocations: 7.625 kB / 440.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3738, allocations: 2.062 kB / 440.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3738, allocations: 0 / 440.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.3742, allocations: 344.5 kB / 441.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3743, allocations: 104.8 kB / 441.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3743, allocations: 10.08 kB / 441.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3744, allocations: 6.125 kB / 441.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3745, allocations: 11.86 kB / 441.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3745, allocations: 6.859 kB / 441.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3746, allocations: 197.5 kB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3746, allocations: 1.375 kB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.3751, allocations: 75.73 kB / 441.6 MB, free: 4.199 MB / 350.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.0002501/0.3753, allocations: 144.1 kB / 441.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3758, allocations: 275.7 kB / 442 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3758, allocations: 1.188 kB / 442 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.3759, allocations: 62.02 kB / 442.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3764, allocations: 75.67 kB / 442.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3774, allocations: 0.5973 MB / 442.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3777, allocations: 0.7712 MB / 443.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3777, allocations: 25.69 kB / 443.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3777, allocations: 0 / 443.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007482/0.3852, allocations: 3.894 MB / 447.4 MB, free: 2.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.05409687399515]