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.001098/0.001098, allocations: 102.4 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 205.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 306.6 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1162, allocations: 51.5 MB / 358.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001756/0.118, allocations: 1.5 MB / 359.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.1229, allocations: 3.389 MB / 362.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1231, allocations: 3.938 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.1235, allocations: 155.5 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.1236, allocations: 31.88 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.1268, allocations: 1.304 MB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1271, allocations: 207.6 kB / 364.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1273, allocations: 37 kB / 364.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1274, allocations: 103.5 kB / 364.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1276, allocations: 87.5 kB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1276, allocations: 4 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1278, allocations: 111.8 kB / 365 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.1279, allocations: 63.75 kB / 365 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.128, allocations: 65.52 kB / 365.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.1283, allocations: 235.5 kB / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1283, allocations: 0 / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1283, allocations: 0 / 365.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1283, allocations: 4 kB / 365.3 MB, free: 6.875 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.000755/0.129, allocations: 0.5412 MB / 365.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1291, allocations: 8.031 kB / 365.9 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.1292, allocations: 31.62 kB / 365.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1295, allocations: 263.2 kB / 366.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1295, allocations: 16.12 kB / 366.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1296, allocations: 23.86 kB / 366.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1299, allocations: 203.8 kB / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1299, allocations: 0 / 366.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1299, allocations: 4 kB / 366.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1299, allocations: 4 kB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1301, allocations: 92.44 kB / 366.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/0.1309, allocations: 0.4891 MB / 367 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1312, allocations: 162.5 kB / 367.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1312, allocations: 4.094 kB / 367.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1312, allocations: 42.5 kB / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.123e-06/0.1312, allocations: 0 / 367.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004296/0.1317, allocations: 225.6 kB / 367.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.1318, allocations: 282.7 kB / 367.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1321, allocations: 284.5 kB / 368 MB, free: 3.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1321, allocations: 29.7 kB / 368 MB, free: 3.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/0.1322, allocations: 160.5 kB / 368.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1322, allocations: 51.25 kB / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.1323, allocations: 0 / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1324, allocations: 342.8 kB / 368.5 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.1325, allocations: 107.9 kB / 368.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1328, allocations: 182.1 kB / 368.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.133, allocations: 115.9 kB / 368.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.133, allocations: 4 kB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004257/0.1334, allocations: 301.3 kB / 369.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1334, allocations: 10.34 kB / 369.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1335, allocations: 3.984 kB / 369.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1335, allocations: 4.094 kB / 369.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1337, allocations: 47.91 kB / 369.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1338, allocations: 7.938 kB / 369.3 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1339, allocations: 31.67 kB / 369.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1339, allocations: 11.98 kB / 369.4 MB, free: 2.523 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.134, allocations: 149.8 kB / 369.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.1341, allocations: 27.62 kB / 369.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1341, allocations: 29.97 kB / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1342, allocations: 0 / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1342, allocations: 112 / 369.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1342, allocations: 3.938 kB / 369.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1344, allocations: 265.5 kB / 369.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1345, allocations: 0 / 369.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1346, allocations: 39.92 kB / 369.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1346, allocations: 4 kB / 369.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1347, allocations: 0 / 369.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1347, allocations: 4 kB / 369.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1347, allocations: 0 / 369.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1351, allocations: 342.7 kB / 370.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1352, allocations: 112.7 kB / 370.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1352, allocations: 4 kB / 370.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1354, allocations: 8.062 kB / 370.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1354, allocations: 7.984 kB / 370.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1354, allocations: 4 kB / 370.3 MB, free: 1.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1356, allocations: 199.1 kB / 370.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1356, allocations: 0 / 370.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1359, allocations: 79.88 kB / 370.6 MB, free: 1.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.1362, allocations: 139.2 kB / 370.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1366, allocations: 284.9 kB / 371 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1366, allocations: 0 / 371 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1367, allocations: 67.89 kB / 371.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1371, allocations: 56.56 kB / 371.1 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1906/0.3278, allocations: 0.6133 MB / 371.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3282, allocations: 0.7785 MB / 372.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002514/0.3285, allocations: 42.95 kB / 372.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.3285, allocations: 21.25 kB / 372.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3285, allocations: 3.906 kB / 372.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008762/0.3373, allocations: 3.447 MB / 376.1 MB, free: 19.31 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches