Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001159/0.001159, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001115/0.001115, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09167, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002953/0.09466, allocations: 1.826 MB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.1011, allocations: 3.543 MB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.1013, allocations: 11.88 kB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.1018, allocations: 131.4 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.102, allocations: 35.66 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.1061, allocations: 1.77 MB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.1066, allocations: 299.1 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1068, allocations: 40.73 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.107, allocations: 107.6 kB / 336.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1072, allocations: 107.3 kB / 336.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1072, allocations: 12 kB / 336.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.1075, allocations: 139.7 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1077, allocations: 75.75 kB / 336.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1078, allocations: 99.28 kB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.1082, allocations: 338.9 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1082, allocations: 4 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1082, allocations: 0 / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1083, allocations: 0 / 337.2 MB, free: 11.22 MB / 286.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.0008755/0.1091, allocations: 0.5763 MB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1092, allocations: 11.97 kB / 337.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.1093, allocations: 28.66 kB / 337.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.1098, allocations: 296.1 kB / 338.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1098, allocations: 12.56 kB / 338.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.1098, allocations: 15.94 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1102, allocations: 198.1 kB / 338.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1102, allocations: 0 / 338.3 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1102, allocations: 4 kB / 338.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1102, allocations: 4 kB / 338.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1104, allocations: 91.86 kB / 338.4 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.1113, allocations: 492.5 kB / 338.9 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1116, allocations: 174.5 kB / 339.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1117, allocations: 56.83 kB / 339.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1117, allocations: 0 / 339.1 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1118, allocations: 38.56 kB / 339.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1118, allocations: 0 / 339.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004481/0.1122, allocations: 225.2 kB / 339.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.1124, allocations: 286.7 kB / 339.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1127, allocations: 284.4 kB / 340 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1127, allocations: 33.7 kB / 340 MB, free: 8.145 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1128, allocations: 152.4 kB / 340.1 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.1129, allocations: 55.36 kB / 340.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.113, allocations: 65.62 kB / 340.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1131, allocations: 342.8 kB / 340.6 MB, free: 7.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.1133, allocations: 95.94 kB / 340.7 MB, free: 7.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.1135, allocations: 172.5 kB / 340.9 MB, free: 7.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.1139, allocations: 217.4 kB / 341.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1139, allocations: 8 kB / 341.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004648/0.1143, allocations: 297.2 kB / 341.4 MB, free: 6.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1144, allocations: 7.984 kB / 341.4 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.1144, allocations: 4 kB / 341.4 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1144, allocations: 0 / 341.4 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1147, allocations: 47.97 kB / 341.4 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1147, allocations: 0 / 341.4 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1148, allocations: 39.55 kB / 341.5 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1149, allocations: 8 kB / 341.5 MB, free: 6.605 MB / 286.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.0001394/0.115, allocations: 145.8 kB / 341.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.1151, allocations: 23.81 kB / 341.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.1151, allocations: 33.91 kB / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1151, allocations: 0 / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1152, allocations: 0 / 341.7 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1152, allocations: 7.922 kB / 341.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.1155, allocations: 265.5 kB / 341.9 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1155, allocations: 4 kB / 341.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1157, allocations: 31.92 kB / 342 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1157, allocations: 4 kB / 342 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1157, allocations: 3.984 kB / 342 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1158, allocations: 0 / 342 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.1158, allocations: 7.984 kB / 342 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.1162, allocations: 335 kB / 342.3 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.1163, allocations: 96.83 kB / 342.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1164, allocations: 12.06 kB / 342.4 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1165, allocations: 15.92 kB / 342.4 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1165, allocations: 11.92 kB / 342.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1166, allocations: 0 / 342.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1167, allocations: 199.1 kB / 342.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1167, allocations: 4 kB / 342.6 MB, free: 5.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.1171, allocations: 71.94 kB / 342.7 MB, free: 5.266 MB / 286.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.0002684/0.1174, allocations: 147.1 kB / 342.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.1179, allocations: 280.9 kB / 343.1 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1179, allocations: 4 kB / 343.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.118, allocations: 63.91 kB / 343.2 MB, free: 4.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.1185, allocations: 74.39 kB / 343.3 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1196, allocations: 0.5479 MB / 343.8 MB, free: 4.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1199, allocations: 0.7675 MB / 344.6 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1201, allocations: 49.89 kB / 344.6 MB, free: 3.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.1201, allocations: 27.38 kB / 344.7 MB, free: 3.238 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1201, allocations: 0 / 344.7 MB, free: 3.238 MB / 286.1 MB Notification: Performance of Templates: time 0.00742/0.1276, allocations: 3.734 MB / 348.4 MB, free: 15.51 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches