Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 60.28 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003826/0.1113, allocations: 1.893 MB / 359.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.1179, allocations: 3.601 MB / 363.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1182, allocations: 7.875 kB / 363.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.1187, allocations: 119.5 kB / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1188, allocations: 31.72 kB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.1228, allocations: 1.602 MB / 364.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.1233, allocations: 307.1 kB / 365.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1234, allocations: 44.69 kB / 365.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1236, allocations: 111.6 kB / 365.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1238, allocations: 99.42 kB / 365.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1238, allocations: 12 kB / 365.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.1241, allocations: 151.7 kB / 365.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1242, allocations: 71.75 kB / 365.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1244, allocations: 103.3 kB / 365.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1247, allocations: 247.4 kB / 366 MB, free: 6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1247, allocations: 3.938 kB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1247, allocations: 0 / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1247, allocations: 0 / 366 MB, free: 5.996 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.0009157/0.1256, allocations: 0.5801 MB / 366.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1257, allocations: 12.03 kB / 366.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.1258, allocations: 24.66 kB / 366.7 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1262, allocations: 288.2 kB / 366.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1262, allocations: 8.562 kB / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.1262, allocations: 23.92 kB / 367 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1266, allocations: 198.1 kB / 367.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1266, allocations: 0 / 367.2 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1266, allocations: 8 kB / 367.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1267, allocations: 3.938 kB / 367.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.1269, allocations: 87.88 kB / 367.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.1278, allocations: 0.4886 MB / 367.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1281, allocations: 170.5 kB / 367.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1282, allocations: 60.83 kB / 368 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1282, allocations: 0 / 368 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1283, allocations: 38.59 kB / 368 MB, free: 3.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.103e-06/0.1283, allocations: 0 / 368 MB, free: 3.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004754/0.1288, allocations: 213.3 kB / 368.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.1289, allocations: 290.7 kB / 368.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1292, allocations: 280.5 kB / 368.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.1293, allocations: 37.7 kB / 368.8 MB, free: 2.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1294, allocations: 152.4 kB / 369 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.1295, allocations: 55.25 kB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.1296, allocations: 53.7 kB / 369.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1298, allocations: 342.8 kB / 369.4 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.13, allocations: 103.9 kB / 369.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1302, allocations: 186.1 kB / 369.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.1306, allocations: 201.2 kB / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1306, allocations: 0 / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004992/0.1311, allocations: 297.5 kB / 370.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1311, allocations: 8 kB / 370.2 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.1312, allocations: 7.984 kB / 370.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1312, allocations: 4 kB / 370.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.1315, allocations: 47.97 kB / 370.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1315, allocations: 4.094 kB / 370.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1316, allocations: 35.55 kB / 370.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1316, allocations: 8 kB / 370.3 MB, free: 1.402 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.000155/0.1318, allocations: 149.8 kB / 370.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1318, allocations: 23.72 kB / 370.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.1319, allocations: 34.08 kB / 370.5 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1319, allocations: 7.938 kB / 370.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1319, allocations: 0 / 370.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1319, allocations: 3.938 kB / 370.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1323, allocations: 273.4 kB / 370.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1323, allocations: 0 / 370.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1325, allocations: 23.98 kB / 370.8 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1325, allocations: 3.984 kB / 370.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1325, allocations: 8 kB / 370.8 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1325, allocations: 11.91 kB / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1325, allocations: 0 / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.133, allocations: 339 kB / 371.1 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.1331, allocations: 96.77 kB / 371.2 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.1332, allocations: 8.062 kB / 371.3 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1333, allocations: 7.984 kB / 371.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1334, allocations: 11.92 kB / 371.3 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1334, allocations: 8 kB / 371.3 MB, free: 324 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1336, allocations: 195.1 kB / 371.5 MB, free: 132 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 0 / 371.5 MB, free: 132 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1339, allocations: 75.98 kB / 371.5 MB, free: 56 kB / 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.1466/0.2806, allocations: 140.8 kB / 371.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.2812, allocations: 297.3 kB / 372 MB, free: 21.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2812, allocations: 0 / 372 MB, free: 21.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2814, allocations: 65.62 kB / 372 MB, free: 21.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.2819, allocations: 72.47 kB / 372.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2829, allocations: 0.6565 MB / 372.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2832, allocations: 0.7702 MB / 373.5 MB, free: 20.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.2832, allocations: 22.38 kB / 373.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2833, allocations: 3.828 kB / 373.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Templates: time 0.007964/0.2912, allocations: 3.884 MB / 377.4 MB, free: 20.28 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches