Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 69.11 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003202/0.1079, allocations: 1.838 MB / 360.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.1139, allocations: 3.547 MB / 363.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1141, allocations: 11.88 kB / 363.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.1146, allocations: 127.4 kB / 363.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1147, allocations: 35.64 kB / 364 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004309/0.119, allocations: 1.777 MB / 365.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.1195, allocations: 307.1 kB / 366.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1196, allocations: 32.72 kB / 366.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1198, allocations: 111.6 kB / 366.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.12, allocations: 107.3 kB / 366.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.12, allocations: 12 kB / 366.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1203, allocations: 151.7 kB / 366.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1205, allocations: 67.75 kB / 366.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1206, allocations: 99.34 kB / 366.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.121, allocations: 338.8 kB / 367 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.121, allocations: 0 / 367 MB, free: 5.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.121, allocations: 0 / 367 MB, free: 5.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.121, allocations: 0 / 367 MB, free: 5.41 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.0009116/0.122, allocations: 0.5841 MB / 367.5 MB, free: 4.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.122, allocations: 8.031 kB / 367.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.222e-05/0.1221, allocations: 32.59 kB / 367.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1225, allocations: 280.2 kB / 367.9 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1225, allocations: 8.562 kB / 367.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.1225, allocations: 23.94 kB / 367.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.1229, allocations: 200.6 kB / 368.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1229, allocations: 0 / 368.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1229, allocations: 8 kB / 368.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.123, allocations: 8 kB / 368.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1232, allocations: 83.88 kB / 368.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.1241, allocations: 492.4 kB / 368.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.1244, allocations: 174.4 kB / 368.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1245, allocations: 56.94 kB / 368.9 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.1245, allocations: 3.938 kB / 368.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1246, allocations: 34.56 kB / 368.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.1246, allocations: 0 / 368.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004974/0.1251, allocations: 225.3 kB / 369.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.1253, allocations: 290.8 kB / 369.4 MB, free: 2.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1256, allocations: 280.5 kB / 369.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1256, allocations: 37.69 kB / 369.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1258, allocations: 152.4 kB / 369.9 MB, free: 2.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.1258, allocations: 51.27 kB / 369.9 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.1259, allocations: 65.67 kB / 370 MB, free: 2.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1261, allocations: 334.8 kB / 370.3 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1263, allocations: 107.9 kB / 370.4 MB, free: 1.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1266, allocations: 172.5 kB / 370.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1269, allocations: 209.4 kB / 370.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1269, allocations: 0 / 370.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005141/0.1275, allocations: 305.3 kB / 371.1 MB, free: 0.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1275, allocations: 4 kB / 371.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.1275, allocations: 4 kB / 371.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1275, allocations: 0 / 371.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.1278, allocations: 52.05 kB / 371.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1279, allocations: 11.88 kB / 371.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.128, allocations: 27.62 kB / 371.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.128, allocations: 8 kB / 371.2 MB, free: 0.8125 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.0001562/0.1282, allocations: 149.8 kB / 371.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1282, allocations: 23.72 kB / 371.4 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.1283, allocations: 33.97 kB / 371.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1283, allocations: 4 kB / 371.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1283, allocations: 0 / 371.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1283, allocations: 3.938 kB / 371.4 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1287, allocations: 265.5 kB / 371.7 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1287, allocations: 3.984 kB / 371.7 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.1289, allocations: 27.92 kB / 371.7 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1289, allocations: 0 / 371.7 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1289, allocations: 8 kB / 371.7 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1289, allocations: 0 / 371.7 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1289, allocations: 0 / 371.7 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1424/0.2713, allocations: 339.2 kB / 372 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.2715, allocations: 101.8 kB / 372.1 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.2715, allocations: 8.469 kB / 372.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2717, allocations: 10.42 kB / 372.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.2718, allocations: 9.125 kB / 372.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2718, allocations: 6.531 kB / 372.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.272, allocations: 195.6 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.272, allocations: 2.094 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.2725, allocations: 80.33 kB / 372.5 MB, free: 20.55 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.0002698/0.2728, allocations: 144.8 kB / 372.6 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.2733, allocations: 291.3 kB / 372.9 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2733, allocations: 1.844 kB / 372.9 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2734, allocations: 65.56 kB / 372.9 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2739, allocations: 76.97 kB / 373 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.275, allocations: 0.5886 MB / 373.6 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2752, allocations: 0.7731 MB / 374.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.2753, allocations: 21.19 kB / 374.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2753, allocations: 1.156 kB / 374.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of Templates: time 0.007723/0.283, allocations: 3.896 MB / 378.3 MB, free: 19.11 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches