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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 194.8 kB / 23.71 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3023, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003864/0.3061, allocations: 1.76 MB / 424.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007582/0.3137, allocations: 3.281 MB / 428.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3139, allocations: 15.81 kB / 428.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.3144, allocations: 139.4 kB / 428.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.3145, allocations: 31.66 kB / 428.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.3188, allocations: 1.774 MB / 430.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.3193, allocations: 307.1 kB / 430.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3195, allocations: 28.91 kB / 430.4 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3196, allocations: 111.6 kB / 430.5 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3198, allocations: 99.41 kB / 430.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.3198, allocations: 12 kB / 430.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3202, allocations: 175.7 kB / 430.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3203, allocations: 67.7 kB / 430.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3204, allocations: 87.39 kB / 430.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.3209, allocations: 350.3 kB / 431.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3209, allocations: 0 / 431.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3209, allocations: 0 / 431.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3209, allocations: 0 / 431.3 MB, free: 6.266 MB / 334.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.000909/0.3218, allocations: 0.5267 MB / 431.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3218, allocations: 8.031 kB / 431.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.3219, allocations: 32.75 kB / 431.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3224, allocations: 222.3 kB / 432 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3224, allocations: 12 kB / 432.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3225, allocations: 12 kB / 432.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.323, allocations: 429.5 kB / 432.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.323, allocations: 3.938 kB / 432.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.323, allocations: 8 kB / 432.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.323, allocations: 11.94 kB / 432.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3232, allocations: 79.94 kB / 432.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.324, allocations: 404.1 kB / 433 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3243, allocations: 182.2 kB / 433.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3244, allocations: 56.86 kB / 433.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3244, allocations: 4 kB / 433.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3244, allocations: 34.56 kB / 433.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3244, allocations: 4 kB / 433.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004796/0.3249, allocations: 217.4 kB / 433.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.3251, allocations: 290.9 kB / 433.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.3254, allocations: 280.5 kB / 434 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3254, allocations: 37.69 kB / 434.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3256, allocations: 152.5 kB / 434.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.3256, allocations: 55.48 kB / 434.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3257, allocations: 69.61 kB / 434.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3259, allocations: 334.8 kB / 434.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3261, allocations: 107.9 kB / 434.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.3265, allocations: 407.8 kB / 435.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.3268, allocations: 206 kB / 435.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3268, allocations: 0 / 435.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004819/0.3273, allocations: 309.3 kB / 435.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3273, allocations: 10.19 kB / 435.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.3274, allocations: 0 / 435.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3274, allocations: 4 kB / 435.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.3276, allocations: 51.95 kB / 435.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3277, allocations: 3.938 kB / 435.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3278, allocations: 27.81 kB / 435.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.3278, allocations: 8 kB / 435.8 MB, free: 1.363 MB / 334.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.000152/0.3279, allocations: 153.8 kB / 435.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.328, allocations: 27.81 kB / 436 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.109e-05/0.3281, allocations: 25.91 kB / 436 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3281, allocations: 4 kB / 436 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3281, allocations: 3.938 kB / 436 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3281, allocations: 0 / 436 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3283, allocations: 201.1 kB / 436.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3283, allocations: 0 / 436.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3285, allocations: 35.92 kB / 436.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3285, allocations: 208 / 436.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.3285, allocations: 15.86 kB / 436.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3285, allocations: 0 / 436.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3285, allocations: 0 / 436.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.329, allocations: 335.2 kB / 436.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.3291, allocations: 19.81 kB / 436.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3291, allocations: 8.062 kB / 436.6 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3292, allocations: 19.98 kB / 436.6 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3293, allocations: 11.92 kB / 436.6 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3293, allocations: 3.938 kB / 436.6 MB, free: 464 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.3295, allocations: 199.1 kB / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3295, allocations: 0 / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.3299, allocations: 75.88 kB / 436.9 MB, free: 192 kB / 334.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.0002504/0.3301, allocations: 143.1 kB / 437 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.3306, allocations: 268.9 kB / 437.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3307, allocations: 4 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3308, allocations: 63.91 kB / 437.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3313, allocations: 74.16 kB / 437.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3323, allocations: 0.5517 MB / 438 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3325, allocations: 169.6 kB / 438.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3327, allocations: 46.03 kB / 438.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.3327, allocations: 27.42 kB / 438.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3327, allocations: 4 kB / 438.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Templates: time 0.00843/0.3411, allocations: 4.182 MB / 442.4 MB, free: 10.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.692524012178183]