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.001364/0.001364, allocations: 69.41 kB / 21.24 MB, free: 0.5547 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: 160.4 kB / 24.5 MB, free: 3.715 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.446/1.446, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.001558/0.001558, allocations: 55.03 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003188/0.1071, allocations: 1.77 MB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.1129, allocations: 3.336 MB / 384 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1131, allocations: 11.81 kB / 384 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1135, allocations: 147.3 kB / 384.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1136, allocations: 27.72 kB / 384.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.1174, allocations: 1.774 MB / 386 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.1179, allocations: 307.2 kB / 386.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.118, allocations: 32.91 kB / 386.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1182, allocations: 123.5 kB / 386.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1184, allocations: 107.4 kB / 386.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.1184, allocations: 12 kB / 386.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.1187, allocations: 163.7 kB / 386.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1189, allocations: 75.69 kB / 386.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.119, allocations: 79.47 kB / 386.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.1194, allocations: 350.5 kB / 387.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1194, allocations: 0 / 387.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1194, allocations: 0 / 387.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1194, allocations: 4 kB / 387.2 MB, free: 7.355 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.000866/0.1203, allocations: 0.5163 MB / 387.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1203, allocations: 8.031 kB / 387.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1204, allocations: 32.75 kB / 387.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1208, allocations: 218.6 kB / 388 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1208, allocations: 12.5 kB / 388 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1209, allocations: 23.89 kB / 388 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.1213, allocations: 436.6 kB / 388.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1214, allocations: 0 / 388.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1214, allocations: 8 kB / 388.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1214, allocations: 0 / 388.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1216, allocations: 91.88 kB / 388.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.1223, allocations: 412.2 kB / 388.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.1226, allocations: 165.9 kB / 389.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1228, allocations: 56.81 kB / 389.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1228, allocations: 8.031 kB / 389.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1228, allocations: 34.56 kB / 389.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.1228, allocations: 4.109 kB / 389.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004933/0.1233, allocations: 217.4 kB / 389.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.1235, allocations: 286.7 kB / 389.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1238, allocations: 280.6 kB / 389.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1238, allocations: 37.69 kB / 390 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1239, allocations: 160.4 kB / 390.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.124, allocations: 55.53 kB / 390.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.1241, allocations: 61.62 kB / 390.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1242, allocations: 342.8 kB / 390.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.1244, allocations: 99.94 kB / 390.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1248, allocations: 412.5 kB / 391.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.1251, allocations: 206.1 kB / 391.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1251, allocations: 0 / 391.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000496/0.1256, allocations: 305.3 kB / 391.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1256, allocations: 8 kB / 391.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.1257, allocations: 7.984 kB / 391.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1257, allocations: 4 kB / 391.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.126, allocations: 43.97 kB / 391.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.126, allocations: 0 / 391.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1261, allocations: 35.75 kB / 391.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1261, allocations: 11.94 kB / 391.7 MB, free: 2.449 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.0001452/0.1263, allocations: 145.8 kB / 391.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.1263, allocations: 31.81 kB / 391.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.1264, allocations: 29.91 kB / 391.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1264, allocations: 4 kB / 391.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1264, allocations: 0 / 391.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1264, allocations: 0 / 391.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.1266, allocations: 201.2 kB / 392.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1266, allocations: 0 / 392.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.1268, allocations: 27.92 kB / 392.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1268, allocations: 0 / 392.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1268, allocations: 4 kB / 392.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1268, allocations: 0 / 392.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1268, allocations: 0 / 392.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.1273, allocations: 343.2 kB / 392.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1274, allocations: 23.75 kB / 392.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1274, allocations: 12.05 kB / 392.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1275, allocations: 11.94 kB / 392.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1276, allocations: 3.984 kB / 392.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1276, allocations: 16.11 kB / 392.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1278, allocations: 195 kB / 392.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1278, allocations: 0 / 392.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1281, allocations: 79.86 kB / 392.8 MB, free: 1.289 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.0002225/0.1284, allocations: 143.1 kB / 392.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.1288, allocations: 272.9 kB / 393.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1288, allocations: 4 kB / 393.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.129, allocations: 59.98 kB / 393.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.1294, allocations: 76.47 kB / 393.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1304, allocations: 0.5595 MB / 393.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.1306, allocations: 157.8 kB / 394.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1307, allocations: 45.91 kB / 394.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1308, allocations: 20.5 kB / 394.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1308, allocations: 0 / 394.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Templates: time 0.008488/0.1393, allocations: 3.986 MB / 398.1 MB, free: 11.97 MB / 366.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 -s ida -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: 4.451783944037743]