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.00163/0.00163, allocations: 117 kB / 18.41 MB, free: 4.684 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.001823/0.001824, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.506/1.506, allocations: 222.9 MB / 247.1 MB, free: 4.219 MB / 190.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.002247/0.002247, allocations: 55.92 kB / 358.7 MB, free: 8.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 49.44 MB / 408.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003443/0.1176, allocations: 1.824 MB / 409.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006356/0.124, allocations: 3.503 MB / 413.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.1243, allocations: 7.938 kB / 413.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.1249, allocations: 135.3 kB / 413.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1251, allocations: 31.72 kB / 413.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.1298, allocations: 1.786 MB / 415.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.1304, allocations: 295.2 kB / 415.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1305, allocations: 36.72 kB / 415.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.1307, allocations: 115.5 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1309, allocations: 107.4 kB / 415.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.131, allocations: 12 kB / 415.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.1313, allocations: 139.7 kB / 416.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.1314, allocations: 67.77 kB / 416.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1315, allocations: 99.33 kB / 416.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.132, allocations: 342.6 kB / 416.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1321, allocations: 3.984 kB / 416.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1321, allocations: 4 kB / 416.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1321, allocations: 0 / 416.6 MB, free: 14.41 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.0009909/0.1331, allocations: 0.5887 MB / 417.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1331, allocations: 12.03 kB / 417.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.1332, allocations: 28.75 kB / 417.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.1337, allocations: 284.2 kB / 417.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1337, allocations: 12 kB / 417.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.1338, allocations: 19.98 kB / 417.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1341, allocations: 203.3 kB / 417.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1342, allocations: 0 / 417.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1342, allocations: 8 kB / 417.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1342, allocations: 7.938 kB / 417.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1344, allocations: 83.94 kB / 417.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.1353, allocations: 496.4 kB / 418.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.1356, allocations: 170.4 kB / 418.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1357, allocations: 60.83 kB / 418.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1358, allocations: 0 / 418.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.1358, allocations: 42.59 kB / 418.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1358, allocations: 0 / 418.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000489/0.1363, allocations: 221.5 kB / 418.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.1365, allocations: 286.7 kB / 419.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.1368, allocations: 288.5 kB / 419.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1368, allocations: 33.7 kB / 419.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.137, allocations: 148.6 kB / 419.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.137, allocations: 59.48 kB / 419.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1372, allocations: 53.7 kB / 419.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1373, allocations: 342.8 kB / 420 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1375, allocations: 103.9 kB / 420.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1378, allocations: 176.5 kB / 420.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1382, allocations: 201.5 kB / 420.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1382, allocations: 4 kB / 420.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005074/0.1387, allocations: 309.3 kB / 420.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1387, allocations: 8 kB / 420.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.1387, allocations: 7.984 kB / 420.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1388, allocations: 3.938 kB / 420.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.139, allocations: 43.97 kB / 420.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.139, allocations: 4 kB / 420.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1392, allocations: 23.86 kB / 420.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1392, allocations: 8.109 kB / 420.8 MB, free: 9.812 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.0001488/0.1394, allocations: 162.3 kB / 421 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1394, allocations: 27.81 kB / 421 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.1395, allocations: 25.97 kB / 421 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1395, allocations: 7.938 kB / 421.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1395, allocations: 0 / 421.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1395, allocations: 0 / 421.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.1398, allocations: 273.4 kB / 421.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1398, allocations: 0 / 421.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.14, allocations: 23.98 kB / 421.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.14, allocations: 4 kB / 421.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.1401, allocations: 12 kB / 421.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1401, allocations: 11.86 kB / 421.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1401, allocations: 0 / 421.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.1406, allocations: 334.2 kB / 421.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.1407, allocations: 100.9 kB / 421.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1407, allocations: 8.156 kB / 421.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1409, allocations: 23.86 kB / 421.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1409, allocations: 7.984 kB / 421.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.1409, allocations: 4 kB / 421.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1411, allocations: 191.1 kB / 422 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1411, allocations: 0 / 422 MB, free: 8.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.1415, allocations: 83.86 kB / 422.1 MB, free: 8.445 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.000291/0.1418, allocations: 143 kB / 422.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.1423, allocations: 285.4 kB / 422.5 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1423, allocations: 0 / 422.5 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1425, allocations: 67.91 kB / 422.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.143, allocations: 69.39 kB / 422.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1441, allocations: 0.576 MB / 423.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1445, allocations: 0.779 MB / 424 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1446, allocations: 23.44 kB / 424 MB, free: 6.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1446, allocations: 0 / 424 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Templates: time 0.007688/0.1523, allocations: 3.905 MB / 427.9 MB, free: 2.527 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.130151111050509]