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.00128/0.00128, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.421/1.421, allocations: 227.7 MB / 247.1 MB, free: 10.34 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.002059/0.002059, allocations: 58.31 kB / 307.2 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 50.54 MB / 357.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003141/0.1068, allocations: 1.84 MB / 359.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1124, allocations: 3.547 MB / 363.1 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1125, allocations: 11.88 kB / 363.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.113, allocations: 127.4 kB / 363.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1131, allocations: 39.64 kB / 363.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.1171, allocations: 1.776 MB / 365.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1175, allocations: 307.1 kB / 365.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1177, allocations: 40.7 kB / 365.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1179, allocations: 111.6 kB / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.118, allocations: 103.4 kB / 365.6 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1181, allocations: 12 kB / 365.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1184, allocations: 151.7 kB / 365.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1185, allocations: 67.75 kB / 365.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1186, allocations: 99.34 kB / 366 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.119, allocations: 334.9 kB / 366.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.119, allocations: 0 / 366.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.119, allocations: 4 kB / 366.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.119, allocations: 0 / 366.3 MB, free: 5.398 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.0008608/0.1199, allocations: 0.5762 MB / 366.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1199, allocations: 15.97 kB / 366.9 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.12, allocations: 24.66 kB / 366.9 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1204, allocations: 288.2 kB / 367.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1204, allocations: 8.562 kB / 367.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.1204, allocations: 27.92 kB / 367.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1208, allocations: 198.1 kB / 367.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1208, allocations: 4 kB / 367.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1208, allocations: 8 kB / 367.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1208, allocations: 0 / 367.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.121, allocations: 87.88 kB / 367.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.1219, allocations: 496.4 kB / 368 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1222, allocations: 170.4 kB / 368.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1224, allocations: 64.83 kB / 368.2 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1224, allocations: 0 / 368.2 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1224, allocations: 34.56 kB / 368.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.1224, allocations: 0 / 368.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004845/0.1229, allocations: 225.3 kB / 368.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.1231, allocations: 286.7 kB / 368.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1234, allocations: 280.5 kB / 369 MB, free: 2.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1234, allocations: 33.7 kB / 369.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1235, allocations: 152.4 kB / 369.2 MB, free: 2.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.1236, allocations: 51.27 kB / 369.3 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.1237, allocations: 61.67 kB / 369.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1239, allocations: 342.8 kB / 369.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1241, allocations: 103.9 kB / 369.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1243, allocations: 172.5 kB / 369.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.1247, allocations: 213.4 kB / 370.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1247, allocations: 0 / 370.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004875/0.1252, allocations: 297.3 kB / 370.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1252, allocations: 8 kB / 370.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1252, allocations: 0 / 370.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1252, allocations: 4 kB / 370.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1255, allocations: 55.89 kB / 370.5 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.1256, allocations: 4 kB / 370.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1257, allocations: 31.62 kB / 370.5 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1257, allocations: 12 kB / 370.6 MB, free: 0.7969 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.0001437/0.1259, allocations: 145.8 kB / 370.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1259, allocations: 23.72 kB / 370.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.126, allocations: 29.97 kB / 370.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.126, allocations: 4 kB / 370.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.126, allocations: 0 / 370.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.126, allocations: 3.938 kB / 370.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.1263, allocations: 269.5 kB / 371 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1263, allocations: 7.922 kB / 371 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1265, allocations: 27.98 kB / 371.1 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1265, allocations: 0 / 371.1 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1266, allocations: 4 kB / 371.1 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1266, allocations: 112 / 371.1 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1266, allocations: 3.938 kB / 371.1 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1728/0.2994, allocations: 332.8 kB / 371.4 MB, free: 20.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.2995, allocations: 100.8 kB / 371.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.2995, allocations: 8.656 kB / 371.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2997, allocations: 8.141 kB / 371.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.2997, allocations: 14.2 kB / 371.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2998, allocations: 3.812 kB / 371.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.3, allocations: 197 kB / 371.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3, allocations: 0.625 kB / 371.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.3005, allocations: 72.72 kB / 371.8 MB, free: 20.64 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.0002278/0.3008, allocations: 144 kB / 371.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3012, allocations: 301.6 kB / 372.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3012, allocations: 0 / 372.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3014, allocations: 65.77 kB / 372.3 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3019, allocations: 71.12 kB / 372.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.3028, allocations: 0.5626 MB / 372.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.303, allocations: 0.7693 MB / 373.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3031, allocations: 40.3 kB / 373.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3032, allocations: 20.53 kB / 373.7 MB, free: 19.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3032, allocations: 1.062 kB / 373.7 MB, free: 19.5 MB / 302.1 MB Notification: Performance of Templates: time 0.00814/0.3113, allocations: 3.74 MB / 377.5 MB, free: 19.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/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