Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001493, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 64.45 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09277, allocations: 50.52 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.0031/0.09591, allocations: 1.889 MB / 358.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005805/0.1017, allocations: 3.605 MB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1019, allocations: 7.875 kB / 362.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1024, allocations: 115.5 kB / 362.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1025, allocations: 31.78 kB / 362.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.1066, allocations: 1.606 MB / 364.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.107, allocations: 307.1 kB / 364.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1071, allocations: 36.7 kB / 364.5 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1073, allocations: 115.6 kB / 364.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1074, allocations: 107.4 kB / 364.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1075, allocations: 12 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.1077, allocations: 143.7 kB / 364.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1079, allocations: 67.75 kB / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.108, allocations: 103.3 kB / 365.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.1084, allocations: 330.9 kB / 365.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1084, allocations: 3.984 kB / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1084, allocations: 0 / 365.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1084, allocations: 4 kB / 365.4 MB, free: 5.945 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.0008561/0.1093, allocations: 0.5903 MB / 366 MB, free: 5.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1093, allocations: 8.031 kB / 366 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.1094, allocations: 28.66 kB / 366 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.1098, allocations: 280.2 kB / 366.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1098, allocations: 12.56 kB / 366.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.1099, allocations: 15.94 kB / 366.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.1102, allocations: 204.4 kB / 366.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1102, allocations: 0 / 366.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1103, allocations: 4 kB / 366.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1103, allocations: 8 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.1105, allocations: 87.81 kB / 366.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1116, allocations: 0.4926 MB / 367.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1119, allocations: 170.1 kB / 367.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.112, allocations: 60.81 kB / 367.4 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.112, allocations: 4 kB / 367.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1121, allocations: 38.56 kB / 367.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1121, allocations: 0 / 367.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005077/0.1126, allocations: 217.3 kB / 367.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.1128, allocations: 294.7 kB / 367.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1131, allocations: 280.5 kB / 368.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1132, allocations: 29.7 kB / 368.2 MB, free: 2.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1133, allocations: 164.4 kB / 368.4 MB, free: 2.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.1134, allocations: 47.27 kB / 368.4 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.1135, allocations: 57.7 kB / 368.5 MB, free: 2.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1137, allocations: 342.8 kB / 368.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1139, allocations: 95.95 kB / 368.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.1141, allocations: 186 kB / 369.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1145, allocations: 205.2 kB / 369.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1145, allocations: 0 / 369.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004509/0.1149, allocations: 305.5 kB / 369.6 MB, free: 1.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.115, allocations: 4 kB / 369.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.115, allocations: 7.984 kB / 369.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.115, allocations: 0 / 369.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1153, allocations: 51.91 kB / 369.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1153, allocations: 0 / 369.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1154, allocations: 35.61 kB / 369.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1154, allocations: 4 kB / 369.7 MB, free: 1.348 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.0001578/0.1156, allocations: 157.8 kB / 369.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.1157, allocations: 23.72 kB / 369.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.1157, allocations: 33.95 kB / 369.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1157, allocations: 0 / 369.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.1158, allocations: 0 / 369.9 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1158, allocations: 3.938 kB / 369.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1161, allocations: 273.4 kB / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1161, allocations: 0 / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1163, allocations: 23.98 kB / 370.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1163, allocations: 0 / 370.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1163, allocations: 8.109 kB / 370.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1163, allocations: 7.938 kB / 370.2 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1163, allocations: 0 / 370.2 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.1168, allocations: 335 kB / 370.5 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1169, allocations: 104.8 kB / 370.6 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1169, allocations: 8.062 kB / 370.6 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1171, allocations: 7.984 kB / 370.6 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.1171, allocations: 16.06 kB / 370.7 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1171, allocations: 11.98 kB / 370.7 MB, free: 264 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1173, allocations: 191.1 kB / 370.9 MB, free: 76 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1173, allocations: 96 / 370.9 MB, free: 76 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.2027/0.3201, allocations: 79.22 kB / 370.9 MB, free: 21 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.0005183/0.3206, allocations: 139.8 kB / 371.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007564/0.3214, allocations: 289.9 kB / 371.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3214, allocations: 1.719 kB / 371.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3216, allocations: 71.47 kB / 371.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.3222, allocations: 77.38 kB / 371.5 MB, free: 20.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3235, allocations: 0.6163 MB / 372.1 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3238, allocations: 0.7714 MB / 372.9 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.324, allocations: 41.2 kB / 372.9 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3241, allocations: 24.88 kB / 373 MB, free: 19.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3241, allocations: 0 / 373 MB, free: 19.79 MB / 302.1 MB Notification: Performance of Templates: time 0.009811/0.3339, allocations: 3.699 MB / 376.7 MB, free: 19.61 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches