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.001178/0.001178, allocations: 105.4 kB / 18.35 MB, free: 4.77 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: 188.1 kB / 19.29 MB, free: 3.844 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.337/1.337, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001181/0.001181, allocations: 60.38 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09149, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003288/0.09483, allocations: 1.818 MB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00597/0.1008, allocations: 3.543 MB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.101, allocations: 7.875 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.1016, allocations: 131.4 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1017, allocations: 43.66 kB / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.1058, allocations: 1.777 MB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.1062, allocations: 303.2 kB / 336.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1063, allocations: 28.75 kB / 336.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1065, allocations: 115.5 kB / 336.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1066, allocations: 103.4 kB / 336.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1067, allocations: 12 kB / 336.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.1069, allocations: 139.7 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1071, allocations: 75.69 kB / 336.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.544e-05/0.1072, allocations: 95.34 kB / 336.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.1076, allocations: 342.9 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1076, allocations: 3.984 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1076, allocations: 4 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1076, 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.0008106/0.1084, allocations: 0.5724 MB / 337.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1085, allocations: 12.03 kB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.1085, allocations: 24.66 kB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.1089, allocations: 284.2 kB / 338.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.109, allocations: 12.56 kB / 338.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.109, allocations: 31.84 kB / 338.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1093, allocations: 202.1 kB / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1093, allocations: 0 / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1094, allocations: 0 / 338.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1094, allocations: 4 kB / 338.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1096, allocations: 87.88 kB / 338.4 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.1104, allocations: 496.5 kB / 338.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1106, allocations: 174.4 kB / 339.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1108, allocations: 60.81 kB / 339.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1108, allocations: 0 / 339.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1108, allocations: 34.56 kB / 339.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1108, allocations: 0 / 339.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004371/0.1113, allocations: 221.2 kB / 339.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1114, allocations: 290.8 kB / 339.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1117, allocations: 284.5 kB / 340 MB, free: 8.188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1117, allocations: 33.7 kB / 340 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1118, allocations: 152.4 kB / 340.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1119, allocations: 51.27 kB / 340.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.112, allocations: 57.69 kB / 340.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1121, allocations: 342.8 kB / 340.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1123, allocations: 103.9 kB / 340.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1125, allocations: 172.5 kB / 340.9 MB, free: 7.238 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1128, allocations: 209.5 kB / 341.1 MB, free: 7.031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1128, allocations: 7.938 kB / 341.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004473/0.1133, allocations: 305.2 kB / 341.4 MB, free: 6.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1133, allocations: 4 kB / 341.4 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.1133, allocations: 7.984 kB / 341.4 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1133, allocations: 0 / 341.4 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1136, allocations: 43.97 kB / 341.4 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1136, allocations: 4 kB / 341.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1137, allocations: 39.55 kB / 341.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1138, allocations: 8 kB / 341.5 MB, free: 6.613 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.0001267/0.1139, allocations: 145.8 kB / 341.6 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.1139, allocations: 23.72 kB / 341.6 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.114, allocations: 25.97 kB / 341.7 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.114, allocations: 4 kB / 341.7 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.114, allocations: 0 / 341.7 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.114, allocations: 4.031 kB / 341.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1143, allocations: 273.4 kB / 341.9 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1143, allocations: 0 / 341.9 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1145, allocations: 32.03 kB / 342 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1145, allocations: 7.938 kB / 342 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1145, allocations: 4 kB / 342 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1145, allocations: 3.984 kB / 342 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1145, allocations: 0 / 342 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.115, allocations: 343 kB / 342.3 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1151, allocations: 92.83 kB / 342.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1151, allocations: 7.938 kB / 342.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1153, allocations: 20.05 kB / 342.4 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.1153, allocations: 11.92 kB / 342.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1153, allocations: 0 / 342.5 MB, free: 5.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1155, allocations: 195.1 kB / 342.7 MB, free: 5.352 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1155, allocations: 0 / 342.7 MB, free: 5.352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1159, allocations: 75.98 kB / 342.7 MB, free: 5.277 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.0002282/0.1161, allocations: 143.2 kB / 342.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004098/0.1165, allocations: 288.9 kB / 343.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1165, allocations: 0 / 343.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1167, allocations: 63.91 kB / 343.2 MB, free: 4.762 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.1171, allocations: 81.48 kB / 343.3 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009348/0.1181, allocations: 0.5401 MB / 343.8 MB, free: 4.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1184, allocations: 0.7753 MB / 344.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1186, allocations: 45.91 kB / 344.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1186, allocations: 23.44 kB / 344.7 MB, free: 3.25 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1186, allocations: 0 / 344.7 MB, free: 3.25 MB / 286.1 MB Notification: Performance of Templates: time 0.006917/0.1255, allocations: 3.737 MB / 348.4 MB, free: 15.52 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 gbode -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