Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.000946/0.0009462, allocations: 96.62 kB / 17.3 MB, free: 6.395 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.001043/0.001043, allocations: 172.5 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006708, allocations: 8 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 47.59 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002543/0.1175, allocations: 1.53 MB / 330.5 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007379/0.1249, allocations: 3.868 MB / 334.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.125, allocations: 3.938 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.1255, allocations: 115.5 kB / 334.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.1256, allocations: 31.72 kB / 334.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.129, allocations: 1.388 MB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.1294, allocations: 283.1 kB / 336.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1295, allocations: 32.73 kB / 336.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1296, allocations: 95.56 kB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1298, allocations: 103.4 kB / 336.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1298, allocations: 4 kB / 336.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.13, allocations: 143.6 kB / 336.5 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.1301, allocations: 59.81 kB / 336.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.1302, allocations: 121 kB / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1306, allocations: 322.8 kB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1306, allocations: 4 kB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1306, allocations: 0 / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1306, allocations: 4 kB / 337 MB, free: 11.66 MB / 286.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.0007199/0.1313, allocations: 0.5258 MB / 337.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1314, allocations: 8.031 kB / 337.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.1314, allocations: 32.56 kB / 337.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1318, allocations: 284.2 kB / 337.9 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1318, allocations: 20.55 kB / 337.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.1319, allocations: 19.92 kB / 337.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.1322, allocations: 198.1 kB / 338.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1322, allocations: 3.938 kB / 338.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1322, allocations: 11.98 kB / 338.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1323, allocations: 0 / 338.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1325, allocations: 91.88 kB / 338.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.1333, allocations: 496.5 kB / 338.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1336, allocations: 166.5 kB / 338.9 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1337, allocations: 68.86 kB / 338.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1337, allocations: 0 / 338.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1338, allocations: 34.56 kB / 339 MB, free: 9.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1338, allocations: 0 / 339 MB, free: 9.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004495/0.1342, allocations: 217.3 kB / 339.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1344, allocations: 298.7 kB / 339.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1347, allocations: 288.4 kB / 339.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.1347, allocations: 29.7 kB / 339.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1348, allocations: 156.5 kB / 339.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1349, allocations: 47.2 kB / 340 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.1349, allocations: 37.7 kB / 340 MB, free: 8.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1351, allocations: 338.8 kB / 340.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1352, allocations: 99.94 kB / 340.4 MB, free: 7.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1355, allocations: 180.5 kB / 340.6 MB, free: 7.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1358, allocations: 217.2 kB / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1358, allocations: 0 / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004485/0.1363, allocations: 317.3 kB / 341.1 MB, free: 7.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1363, allocations: 6.969 kB / 341.1 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.1363, allocations: 15.98 kB / 341.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1364, allocations: 0 / 341.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1366, allocations: 47.97 kB / 341.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1366, allocations: 0 / 341.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1367, allocations: 27.72 kB / 341.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1368, allocations: 15.98 kB / 341.2 MB, free: 7.09 MB / 286.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.0001351/0.1369, allocations: 149.9 kB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.137, allocations: 31.56 kB / 341.4 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.137, allocations: 25.97 kB / 341.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.137, allocations: 4 kB / 341.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.137, allocations: 0 / 341.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1371, allocations: 3.938 kB / 341.5 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.1373, allocations: 269.5 kB / 341.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1373, allocations: 0 / 341.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.1375, allocations: 31.92 kB / 341.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1375, allocations: 0 / 341.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1376, allocations: 8 kB / 341.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1376, allocations: 0 / 341.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1376, allocations: 0 / 341.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.1381, allocations: 343 kB / 342.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.1382, allocations: 104.7 kB / 342.2 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1382, allocations: 8.062 kB / 342.2 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1384, allocations: 4 kB / 342.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1384, allocations: 19.92 kB / 342.2 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1384, allocations: 4 kB / 342.2 MB, free: 6.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1386, allocations: 199 kB / 342.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1386, allocations: 0 / 342.4 MB, free: 5.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000349/0.139, allocations: 76.08 kB / 342.5 MB, free: 5.742 MB / 286.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.0002631/0.1393, allocations: 147.1 kB / 342.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.1397, allocations: 288.9 kB / 342.9 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1397, allocations: 0 / 342.9 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1399, allocations: 72.52 kB / 343 MB, free: 5.215 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.1403, allocations: 72.03 kB / 343.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.1413, allocations: 0.6402 MB / 343.7 MB, free: 4.484 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1417, allocations: 0.7716 MB / 344.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1418, allocations: 45.92 kB / 344.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1419, allocations: 19.44 kB / 344.5 MB, free: 3.625 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1419, allocations: 0 / 344.5 MB, free: 3.625 MB / 286.1 MB Notification: Performance of Templates: time 0.00711/0.149, allocations: 3.584 MB / 348.1 MB, free: 48 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches