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.001298/0.001298, allocations: 114.4 kB / 16.63 MB, free: 6.816 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.001642/0.001642, allocations: 190 kB / 17.55 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 46.55 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.1004, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003381/0.1038, allocations: 1.865 MB / 351.4 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.1094, allocations: 3.566 MB / 355 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.1096, allocations: 7.938 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1101, allocations: 115.5 kB / 355.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1103, allocations: 35.7 kB / 355.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.1145, allocations: 1.598 MB / 356.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004786/0.115, allocations: 303.2 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1152, allocations: 32.73 kB / 357.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1154, allocations: 115.5 kB / 357.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1155, allocations: 107.4 kB / 357.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.1156, allocations: 12 kB / 357.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1158, allocations: 143.7 kB / 357.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.116, allocations: 79.67 kB / 357.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.1161, allocations: 91.36 kB / 357.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.1165, allocations: 342.9 kB / 357.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1165, allocations: 0 / 357.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1165, allocations: 0 / 357.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1166, allocations: 0 / 357.9 MB, free: 12.36 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.0008395/0.1174, allocations: 0.5802 MB / 358.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1175, allocations: 8.031 kB / 358.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.1175, allocations: 32.59 kB / 358.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1179, allocations: 288.1 kB / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1179, allocations: 11.94 kB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.118, allocations: 16 kB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.1184, allocations: 202.1 kB / 359.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1184, allocations: 4 kB / 359.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1184, allocations: 4 kB / 359.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1184, allocations: 7.938 kB / 359.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1186, allocations: 83.94 kB / 359.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.1195, allocations: 492.5 kB / 359.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1198, allocations: 165.1 kB / 359.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1199, allocations: 56.83 kB / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.12, allocations: 0 / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.12, allocations: 46.59 kB / 359.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.12, allocations: 0 / 359.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004679/0.1205, allocations: 221.2 kB / 360.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1206, allocations: 286.7 kB / 360.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1209, allocations: 280.6 kB / 360.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.121, allocations: 33.7 kB / 360.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1211, allocations: 152.5 kB / 360.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.1211, allocations: 63.19 kB / 360.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.1212, allocations: 65.69 kB / 361 MB, free: 9.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1213, allocations: 334.8 kB / 361.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1215, allocations: 99.94 kB / 361.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1218, allocations: 185 kB / 361.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.1221, allocations: 209.2 kB / 361.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1221, allocations: 4 kB / 361.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004793/0.1226, allocations: 305.5 kB / 362.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1226, allocations: 4 kB / 362.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.1227, allocations: 4 kB / 362.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1227, allocations: 0 / 362.1 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1229, allocations: 47.91 kB / 362.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.123, allocations: 8 kB / 362.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1231, allocations: 31.67 kB / 362.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1231, allocations: 4 kB / 362.2 MB, free: 7.758 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.0001378/0.1233, allocations: 153.7 kB / 362.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.1233, allocations: 27.7 kB / 362.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1234, allocations: 22.08 kB / 362.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1234, allocations: 11.88 kB / 362.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1234, allocations: 0 / 362.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1234, allocations: 3.984 kB / 362.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1237, allocations: 269.5 kB / 362.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1237, allocations: 0 / 362.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.1239, allocations: 23.98 kB / 362.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1239, allocations: 0 / 362.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1239, allocations: 11.98 kB / 362.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.124, allocations: 7.875 kB / 362.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.124, allocations: 0 / 362.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.1244, allocations: 339 kB / 363.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.1246, allocations: 92.83 kB / 363.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1246, allocations: 8.062 kB / 363.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1248, allocations: 19.92 kB / 363.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.1248, allocations: 7.984 kB / 363.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1248, allocations: 0 / 363.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.125, allocations: 195.1 kB / 363.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.125, allocations: 0 / 363.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.1254, allocations: 83.94 kB / 363.4 MB, free: 6.41 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.0003277/0.1257, allocations: 162.4 kB / 363.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.1263, allocations: 292.9 kB / 363.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.1263, allocations: 0 / 363.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1265, allocations: 63.91 kB / 364 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.127, allocations: 73.64 kB / 364 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.128, allocations: 0.6219 MB / 364.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1284, allocations: 0.7714 MB / 365.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.1286, allocations: 41.91 kB / 365.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.1286, allocations: 23.44 kB / 365.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1286, allocations: 3.938 kB / 365.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Templates: time 0.007651/0.1363, allocations: 3.699 MB / 369.2 MB, free: 0.6328 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","/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