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.0009702/0.0009704, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.000988/0.0009881, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.478/1.478, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 11.94 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 50.4 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001904/0.1137, allocations: 1.522 MB / 353.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1194, allocations: 3.84 MB / 357.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1195, allocations: 7.938 kB / 357.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.12, allocations: 111.5 kB / 357.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.1201, allocations: 27.72 kB / 357.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.1233, allocations: 1.386 MB / 358.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.1237, allocations: 287.1 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1238, allocations: 40.98 kB / 359 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.124, allocations: 91.52 kB / 359.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1241, allocations: 99.41 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1242, allocations: 8 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.1244, allocations: 131.7 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1245, allocations: 63.75 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1246, allocations: 125 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.125, allocations: 326.9 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.125, allocations: 0 / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.125, allocations: 0 / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.125, allocations: 0 / 359.9 MB, free: 11.65 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.000738/0.1258, allocations: 0.5414 MB / 360.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1258, allocations: 8.875 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.1259, allocations: 32.56 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1262, allocations: 280.2 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1263, allocations: 15.94 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.1263, allocations: 16 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1266, allocations: 209.2 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1266, allocations: 0 / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1267, allocations: 4 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1267, allocations: 7.938 kB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1269, allocations: 91.94 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.1277, allocations: 496.4 kB / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.128, allocations: 170.4 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1281, allocations: 60.83 kB / 361.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1281, allocations: 4 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1282, allocations: 38.59 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1282, allocations: 0 / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004521/0.1286, allocations: 233.1 kB / 362 MB, free: 9.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.1288, allocations: 290.7 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1291, allocations: 280.5 kB / 362.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1291, allocations: 37.69 kB / 362.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1292, allocations: 152.4 kB / 362.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.1293, allocations: 47.36 kB / 362.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.1293, allocations: 37.69 kB / 362.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1295, allocations: 342.8 kB / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1297, allocations: 99.94 kB / 363.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.1299, allocations: 181 kB / 363.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1302, allocations: 217.3 kB / 363.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1302, allocations: 3.938 kB / 363.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004617/0.1307, allocations: 309.5 kB / 364 MB, free: 7.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1307, allocations: 10.59 kB / 364 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.1308, allocations: 7.984 kB / 364 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1308, allocations: 0 / 364 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.131, allocations: 55.91 kB / 364.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1311, allocations: 0 / 364.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1312, allocations: 31.67 kB / 364.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1312, allocations: 8 kB / 364.1 MB, free: 7.078 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.0001306/0.1313, allocations: 149.7 kB / 364.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.1314, allocations: 23.72 kB / 364.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.1315, allocations: 29.97 kB / 364.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1315, allocations: 7.938 kB / 364.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1315, allocations: 0 / 364.3 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1315, allocations: 4 kB / 364.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1318, allocations: 265.5 kB / 364.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1318, allocations: 0 / 364.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.132, allocations: 27.98 kB / 364.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.132, allocations: 0 / 364.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.132, allocations: 7.984 kB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.132, allocations: 3.938 kB / 364.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.132, allocations: 3.938 kB / 364.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.1325, allocations: 343.1 kB / 364.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1326, allocations: 112.7 kB / 365 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1326, allocations: 4 kB / 365.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1327, allocations: 19.92 kB / 365.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1328, allocations: 7.984 kB / 365.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1328, allocations: 8.125 kB / 365.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.133, allocations: 199.1 kB / 365.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.133, allocations: 0 / 365.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1333, allocations: 68 kB / 365.3 MB, free: 5.723 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.0002505/0.1336, allocations: 151.1 kB / 365.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.134, allocations: 284.9 kB / 365.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1341, allocations: 8 kB / 365.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1342, allocations: 59.91 kB / 365.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1347, allocations: 76.53 kB / 365.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.1357, allocations: 0.6361 MB / 366.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.136, allocations: 0.7677 MB / 367.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1362, allocations: 41.91 kB / 367.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.1362, allocations: 23.44 kB / 367.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1362, allocations: 0 / 367.4 MB, free: 3.605 MB / 302.1 MB Notification: Performance of Templates: time 0.007079/0.1433, allocations: 3.564 MB / 370.9 MB, free: 68 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