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.001629/0.001629, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00184/0.00184, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 47.98 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09507, allocations: 49.45 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003664/0.09878, allocations: 1.818 MB / 352.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006148/0.105, allocations: 3.504 MB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1052, allocations: 7.938 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.1057, allocations: 131.3 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.1059, allocations: 31.72 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.1104, allocations: 1.786 MB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.1108, allocations: 303.2 kB / 358.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.111, allocations: 28.75 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1112, allocations: 115.5 kB / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1114, allocations: 107.4 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1114, allocations: 12 kB / 358.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1117, allocations: 143.7 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1119, allocations: 67.75 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.112, allocations: 103.3 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.1125, allocations: 330.9 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1125, allocations: 0 / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1125, allocations: 0 / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1125, allocations: 0 / 359.2 MB, free: 11.95 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.0009355/0.1135, allocations: 0.5879 MB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1135, allocations: 8.031 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.1136, allocations: 28.66 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.114, allocations: 288.1 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.114, allocations: 11.94 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.114, allocations: 16 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1144, allocations: 202.1 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1144, allocations: 0 / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1144, allocations: 4 kB / 360.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1145, allocations: 11.94 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.1147, allocations: 87.88 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.1156, allocations: 488.5 kB / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1159, allocations: 170.4 kB / 361 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.116, allocations: 60.81 kB / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1161, allocations: 0 / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1161, allocations: 34.56 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.1161, allocations: 3.984 kB / 361.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004969/0.1166, allocations: 221.3 kB / 361.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.1168, allocations: 298.7 kB / 361.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1171, allocations: 276.6 kB / 361.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.1171, allocations: 33.7 kB / 362 MB, free: 8.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1173, allocations: 156.4 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1173, allocations: 51.27 kB / 362.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1174, allocations: 57.7 kB / 362.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1176, allocations: 342.9 kB / 362.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.1178, allocations: 103.9 kB / 362.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.118, allocations: 176.5 kB / 362.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1184, allocations: 205.4 kB / 363 MB, free: 7.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1184, allocations: 4 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000512/0.1189, allocations: 301.3 kB / 363.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1189, allocations: 8 kB / 363.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.119, allocations: 8.078 kB / 363.3 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.119, allocations: 3.938 kB / 363.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.1193, allocations: 59.84 kB / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1193, allocations: 0 / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1194, allocations: 31.67 kB / 363.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1194, allocations: 4 kB / 363.4 MB, free: 7.34 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.0001495/0.1196, allocations: 145.8 kB / 363.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.1197, allocations: 31.66 kB / 363.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.1197, allocations: 33.97 kB / 363.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.1198, allocations: 3.938 kB / 363.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1198, allocations: 0 / 363.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1198, allocations: 0 / 363.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.1201, allocations: 269.4 kB / 363.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1201, allocations: 0 / 363.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1203, allocations: 23.98 kB / 363.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1203, allocations: 0 / 363.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1203, allocations: 4 kB / 363.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1203, allocations: 3.938 kB / 363.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1203, allocations: 7.984 kB / 363.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.1209, allocations: 346.3 kB / 364.3 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.121, allocations: 100.8 kB / 364.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.121, allocations: 8.062 kB / 364.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1212, allocations: 12.05 kB / 364.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1212, allocations: 11.98 kB / 364.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1212, allocations: 8 kB / 364.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1214, allocations: 191.1 kB / 364.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1214, allocations: 0 / 364.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.1218, allocations: 75.98 kB / 364.7 MB, free: 5.996 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.0002858/0.1221, allocations: 139.2 kB / 364.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.1226, allocations: 300.8 kB / 365.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1227, allocations: 4 kB / 365.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1228, allocations: 63.97 kB / 365.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.1233, allocations: 78.36 kB / 365.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1244, allocations: 0.5923 MB / 365.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1248, allocations: 0.7635 MB / 366.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1249, allocations: 23.44 kB / 366.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1249, allocations: 4 kB / 366.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of Templates: time 0.007405/0.1323, allocations: 3.88 MB / 370.5 MB, free: 88 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/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