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.0009698/0.0009699, allocations: 91.16 kB / 16.3 MB, free: 5.629 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.001001/0.001001, allocations: 180 kB / 17.19 MB, free: 5.566 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.399/1.399, allocations: 223.2 MB / 241.1 MB, free: 14.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002388, allocations: 7.938 kB / 300.7 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1072, allocations: 50.4 MB / 351.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002402/0.1097, allocations: 1.491 MB / 352.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.1152, allocations: 3.338 MB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.1155, allocations: 3.938 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1161, allocations: 147.5 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1163, allocations: 35.81 kB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.1201, allocations: 1.302 MB / 357.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.1205, allocations: 211.5 kB / 357.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1207, allocations: 29.03 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1209, allocations: 95.62 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.121, allocations: 91.48 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.1211, allocations: 4 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1214, allocations: 107.8 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1215, allocations: 63.81 kB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.1216, allocations: 69.5 kB / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.122, allocations: 239.5 kB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.122, allocations: 0 / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.122, allocations: 0 / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1221, allocations: 0 / 358.3 MB, free: 12.57 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.0009023/0.123, allocations: 0.5411 MB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.123, allocations: 8.562 kB / 358.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1231, allocations: 35.61 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.1236, allocations: 271.1 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1236, allocations: 16.17 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.1237, allocations: 19.91 kB / 359.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.124, allocations: 199.8 kB / 359.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.124, allocations: 0 / 359.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1241, allocations: 4 kB / 359.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1241, allocations: 7.953 kB / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.1243, allocations: 88.5 kB / 359.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.1253, allocations: 496.2 kB / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1256, allocations: 178.5 kB / 360.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1256, allocations: 3.984 kB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1257, allocations: 34.56 kB / 360.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1257, allocations: 0 / 360.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004609/0.1261, allocations: 221.6 kB / 360.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.1263, allocations: 294.7 kB / 360.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1265, allocations: 272.5 kB / 361 MB, free: 9.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1266, allocations: 29.7 kB / 361 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1267, allocations: 160.4 kB / 361.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1267, allocations: 51.25 kB / 361.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.1268, allocations: 8 kB / 361.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1269, allocations: 334.8 kB / 361.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.1271, allocations: 103.9 kB / 361.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1273, allocations: 176.5 kB / 361.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1275, allocations: 131.9 kB / 361.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1275, allocations: 3.953 kB / 362 MB, free: 8.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000438/0.1279, allocations: 293.3 kB / 362.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.128, allocations: 8.109 kB / 362.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.128, allocations: 12.02 kB / 362.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.128, allocations: 3.938 kB / 362.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.1283, allocations: 55.91 kB / 362.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1283, allocations: 0 / 362.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1284, allocations: 31.67 kB / 362.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1285, allocations: 4 kB / 362.4 MB, free: 8.211 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.0001485/0.1286, allocations: 148.8 kB / 362.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.1287, allocations: 31.58 kB / 362.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1287, allocations: 29.97 kB / 362.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1287, allocations: 0 / 362.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1288, allocations: 8 kB / 362.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1288, allocations: 3.938 kB / 362.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1291, allocations: 269.5 kB / 362.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1291, allocations: 0 / 362.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.1293, allocations: 27.94 kB / 362.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1293, allocations: 0 / 362.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1293, allocations: 8 kB / 362.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1293, allocations: 0 / 362.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1293, allocations: 3.984 kB / 362.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.1298, allocations: 346.5 kB / 363.2 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1299, allocations: 100.7 kB / 363.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.1299, allocations: 8.062 kB / 363.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.13, allocations: 11.98 kB / 363.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1301, allocations: 11.98 kB / 363.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1301, allocations: 4 kB / 363.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1303, allocations: 191.1 kB / 363.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1303, allocations: 0 / 363.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.1306, allocations: 79.89 kB / 363.6 MB, free: 6.863 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.0002471/0.1309, allocations: 135.5 kB / 363.7 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.1313, allocations: 288.9 kB / 364 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1314, allocations: 7.938 kB / 364 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1315, allocations: 67.91 kB / 364.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1319, allocations: 66.19 kB / 364.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1329, allocations: 0.6088 MB / 364.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1333, allocations: 0.7716 MB / 365.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.1335, allocations: 50.03 kB / 365.6 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.1335, allocations: 23.44 kB / 365.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1335, allocations: 0 / 365.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of Templates: time 0.006987/0.1405, allocations: 3.462 MB / 369.1 MB, free: 1.336 MB / 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","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches