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.001093/0.001093, allocations: 112.5 kB / 17.69 MB, free: 5.438 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.001083/0.001083, allocations: 191 kB / 18.63 MB, free: 4.508 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 51.27 kB / 302.1 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09963, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002977/0.1027, allocations: 1.822 MB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.1078, allocations: 3.5 MB / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.108, allocations: 11.88 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.1084, allocations: 127.4 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.272e-05/0.1085, allocations: 35.66 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.112, allocations: 1.777 MB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.1124, allocations: 307.1 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1125, allocations: 28.75 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1126, allocations: 107.6 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1128, allocations: 107.4 kB / 359.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.1128, allocations: 12 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.1131, allocations: 147.7 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1132, allocations: 75.75 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.1133, allocations: 95.34 kB / 359.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.1137, allocations: 338.9 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1137, allocations: 0 / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1137, allocations: 0 / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1137, allocations: 3.984 kB / 360 MB, free: 11.22 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.0007859/0.1145, allocations: 0.584 MB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1145, allocations: 11.89 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1146, allocations: 28.66 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.115, allocations: 288.1 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.115, allocations: 15.94 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1151, allocations: 15.98 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1154, allocations: 205.1 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1154, allocations: 0 / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1154, allocations: 4 kB / 361.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1154, allocations: 3.938 kB / 361.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1156, allocations: 87.94 kB / 361.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/0.1164, allocations: 492.5 kB / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1167, allocations: 166.4 kB / 361.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1168, allocations: 56.83 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1168, allocations: 4 kB / 361.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1168, allocations: 38.56 kB / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1169, allocations: 0 / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004438/0.1173, allocations: 224.8 kB / 362.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.1174, allocations: 294.7 kB / 362.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1177, allocations: 280.6 kB / 362.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1177, allocations: 29.7 kB / 362.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1178, allocations: 160.4 kB / 362.9 MB, free: 8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.1179, allocations: 51.25 kB / 362.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.118, allocations: 57.7 kB / 363 MB, free: 7.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1181, allocations: 342.8 kB / 363.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1183, allocations: 95.94 kB / 363.4 MB, free: 7.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1185, allocations: 180.5 kB / 363.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.1188, allocations: 213.4 kB / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1188, allocations: 0 / 363.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004344/0.1193, allocations: 301.3 kB / 364.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1193, allocations: 4 kB / 364.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.1193, allocations: 7.984 kB / 364.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1193, allocations: 0 / 364.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.1196, allocations: 59.95 kB / 364.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1196, allocations: 3.938 kB / 364.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1198, allocations: 31.67 kB / 364.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1198, allocations: 8 kB / 364.2 MB, free: 6.617 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.0001202/0.1199, allocations: 145.8 kB / 364.4 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.12, allocations: 23.72 kB / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.246e-05/0.12, allocations: 29.97 kB / 364.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1201, allocations: 7.938 kB / 364.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1201, allocations: 4 kB / 364.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1201, allocations: 0 / 364.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1203, allocations: 277.4 kB / 364.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1203, allocations: 0 / 364.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.1205, allocations: 23.98 kB / 364.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1205, allocations: 4 kB / 364.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1206, allocations: 0 / 364.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1206, allocations: 11.92 kB / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1206, allocations: 0 / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.121, allocations: 335 kB / 365.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1211, allocations: 100.8 kB / 365.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1211, allocations: 8 kB / 365.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1213, allocations: 15.92 kB / 365.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1213, allocations: 7.984 kB / 365.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1213, allocations: 4 kB / 365.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1215, allocations: 195.1 kB / 365.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 365.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1219, allocations: 79.98 kB / 365.5 MB, free: 5.273 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.0002254/0.1221, allocations: 139.2 kB / 365.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1225, allocations: 284.9 kB / 365.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1225, allocations: 0 / 365.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1226, allocations: 59.91 kB / 365.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1231, allocations: 89.45 kB / 366 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009576/0.1241, allocations: 0.5555 MB / 366.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1244, allocations: 0.7714 MB / 367.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1245, allocations: 46.03 kB / 367.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.1246, allocations: 19.44 kB / 367.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1246, allocations: 0 / 367.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of Templates: time 0.154/0.2786, allocations: 3.729 MB / 371.2 MB, free: 25.28 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/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