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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 46.48 kB / 300.6 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1089, allocations: 49.44 MB / 350 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00475/0.1137, allocations: 1.826 MB / 351.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.1218, allocations: 3.497 MB / 355.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1223, allocations: 3.938 kB / 355.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.123, allocations: 135.3 kB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.1233, allocations: 39.66 kB / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006317/0.1296, allocations: 1.781 MB / 357.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007681/0.1304, allocations: 295.2 kB / 357.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.1307, allocations: 36.73 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.131, allocations: 115.5 kB / 357.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1313, allocations: 103.4 kB / 357.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.1314, allocations: 12 kB / 357.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.1319, allocations: 143.7 kB / 358 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1321, allocations: 71.75 kB / 358.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1323, allocations: 99.34 kB / 358.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.133, allocations: 330.9 kB / 358.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.133, allocations: 4 kB / 358.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.133, allocations: 0 / 358.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.1331, allocations: 0 / 358.5 MB, free: 11.96 MB / 302.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.001425/0.1345, allocations: 0.584 MB / 359.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.1346, allocations: 8.031 kB / 359.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1347, allocations: 28.66 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.1352, allocations: 288.1 kB / 359.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.1352, allocations: 19.92 kB / 359.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-05/0.1353, allocations: 15.98 kB / 359.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.1358, allocations: 204.9 kB / 359.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1358, allocations: 3.938 kB / 359.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1358, allocations: 4 kB / 359.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1358, allocations: 7.938 kB / 359.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1361, allocations: 83.88 kB / 359.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1373, allocations: 488.5 kB / 360.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1377, allocations: 166.5 kB / 360.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1379, allocations: 56.83 kB / 360.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1379, allocations: 0 / 360.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.138, allocations: 42.56 kB / 360.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.138, allocations: 0 / 360.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006602/0.1387, allocations: 225.2 kB / 360.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.1389, allocations: 290.7 kB / 361 MB, free: 9.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.1393, allocations: 280.6 kB / 361.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1394, allocations: 29.69 kB / 361.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1395, allocations: 160.4 kB / 361.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1396, allocations: 43.27 kB / 361.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1397, allocations: 73.78 kB / 361.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1399, allocations: 342.8 kB / 361.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1402, allocations: 95.94 kB / 362 MB, free: 8.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.1405, allocations: 180.5 kB / 362.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.1409, allocations: 213.5 kB / 362.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1409, allocations: 0 / 362.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006085/0.1415, allocations: 293.3 kB / 362.6 MB, free: 7.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1416, allocations: 4 kB / 362.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.1416, allocations: 8 kB / 362.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1416, allocations: 0 / 362.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1419, allocations: 59.83 kB / 362.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1419, allocations: 0 / 362.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.142, allocations: 31.69 kB / 362.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1421, allocations: 4 kB / 362.8 MB, free: 7.359 MB / 302.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.0001289/0.1422, allocations: 157.7 kB / 362.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.1423, allocations: 27.72 kB / 362.9 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.1423, allocations: 29.97 kB / 363 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1423, allocations: 3.938 kB / 363 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1423, allocations: 0 / 363 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1424, allocations: 0 / 363 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.1426, allocations: 277.4 kB / 363.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1427, allocations: 0 / 363.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1428, allocations: 19.98 kB / 363.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.1429, allocations: 4 kB / 363.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1429, allocations: 4 kB / 363.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1429, allocations: 7.938 kB / 363.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1429, allocations: 96 / 363.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.1434, allocations: 346 kB / 363.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1434, allocations: 100.8 kB / 363.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1435, allocations: 12.05 kB / 363.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1436, allocations: 7.938 kB / 363.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1437, allocations: 11.98 kB / 363.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1437, allocations: 4 kB / 363.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1438, allocations: 195.1 kB / 363.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 0 / 363.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.1442, allocations: 72 kB / 364 MB, free: 6.012 MB / 302.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.0002972/0.1445, allocations: 147.1 kB / 364.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.1452, allocations: 292.9 kB / 364.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1452, allocations: 4 kB / 364.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1454, allocations: 67.89 kB / 364.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.146, allocations: 71.19 kB / 364.6 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1475, allocations: 0.5555 MB / 365.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1479, allocations: 0.7714 MB / 365.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.1481, allocations: 42.05 kB / 365.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.1482, allocations: 27.44 kB / 366 MB, free: 3.969 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1482, allocations: 0 / 366 MB, free: 3.969 MB / 302.1 MB Notification: Performance of Templates: time 0.01103/0.1593, allocations: 3.735 MB / 369.7 MB, free: 272 kB / 302.1 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/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) Reference file matches