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.001328/0.001328, allocations: 109 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.28 kB / 306.9 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08693/0.08814, allocations: 50.54 MB / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002993/0.09117, allocations: 1.889 MB / 359.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.09699, allocations: 3.933 MB / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.09719, allocations: 3.938 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.09765, allocations: 111.5 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.09779, allocations: 31.72 kB / 363.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003209/0.101, allocations: 1.39 MB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1014, allocations: 287.1 kB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1015, allocations: 37 kB / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1017, allocations: 103.5 kB / 365.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1019, allocations: 111.3 kB / 365.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1019, allocations: 4 kB / 365.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1022, allocations: 135.7 kB / 365.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1023, allocations: 67.75 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1024, allocations: 95.34 kB / 365.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1027, allocations: 239.5 kB / 365.8 MB, free: 5.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1027, allocations: 4 kB / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1027, allocations: 0 / 365.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1027, allocations: 0 / 365.8 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.0008257/0.1035, allocations: 0.584 MB / 366.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1036, allocations: 8.875 kB / 366.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.1037, allocations: 28.66 kB / 366.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.104, allocations: 292.1 kB / 366.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.104, allocations: 16.56 kB / 366.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.1041, allocations: 15.94 kB / 366.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1044, allocations: 209.1 kB / 367 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1044, allocations: 0 / 367 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1044, allocations: 4 kB / 367 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1045, allocations: 4 kB / 367 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1047, allocations: 83.88 kB / 367.1 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.1055, allocations: 496.4 kB / 367.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1058, allocations: 174.4 kB / 367.7 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1059, allocations: 56.83 kB / 367.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1059, allocations: 0 / 367.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.106, allocations: 42.56 kB / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.106, allocations: 0 / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004777/0.1064, allocations: 213.3 kB / 368 MB, free: 3.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.1066, allocations: 294.8 kB / 368.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1069, allocations: 284.5 kB / 368.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1069, allocations: 25.7 kB / 368.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.107, allocations: 164.4 kB / 368.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1071, allocations: 43.27 kB / 368.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.1072, allocations: 69.69 kB / 368.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1073, allocations: 338.8 kB / 369.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1075, allocations: 99.94 kB / 369.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.1077, allocations: 178.1 kB / 369.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.1081, allocations: 217.1 kB / 369.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1081, allocations: 96 / 369.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004751/0.1085, allocations: 297.5 kB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1086, allocations: 4 kB / 370 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.1086, allocations: 4 kB / 370 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1086, allocations: 112 / 370 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.1089, allocations: 59.89 kB / 370.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1089, allocations: 3.938 kB / 370.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.109, allocations: 35.62 kB / 370.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1091, allocations: 7.984 kB / 370.1 MB, free: 1.332 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.0001526/0.1092, allocations: 153.8 kB / 370.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.1093, allocations: 23.72 kB / 370.3 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.1094, allocations: 29.97 kB / 370.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1094, allocations: 3.984 kB / 370.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1094, allocations: 0 / 370.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1094, allocations: 3.938 kB / 370.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.1097, allocations: 261.5 kB / 370.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1097, allocations: 11.98 kB / 370.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1099, allocations: 23.92 kB / 370.6 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1099, allocations: 4 kB / 370.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.1099, allocations: 4 kB / 370.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1099, allocations: 0 / 370.6 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1099, allocations: 4 kB / 370.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.1104, allocations: 333.9 kB / 371 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1105, allocations: 104.8 kB / 371.1 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.1106, allocations: 12.05 kB / 371.1 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1107, allocations: 4 kB / 371.1 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1107, allocations: 19.92 kB / 371.1 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1108, allocations: 4 kB / 371.1 MB, free: 264 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1109, allocations: 195.1 kB / 371.3 MB, free: 72 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1109, allocations: 0 / 371.3 MB, free: 72 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1544/0.2653, allocations: 72.75 kB / 371.4 MB, free: 20.93 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.0004153/0.2658, allocations: 133.3 kB / 371.5 MB, free: 20.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.2664, allocations: 283.9 kB / 371.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2664, allocations: 1.531 kB / 371.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.2666, allocations: 64.86 kB / 371.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/0.2672, allocations: 74.27 kB / 371.9 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.2682, allocations: 0.6588 MB / 372.6 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2684, allocations: 0.7702 MB / 373.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.2685, allocations: 21.19 kB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2685, allocations: 3.906 kB / 373.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of Templates: time 0.006965/0.2755, allocations: 3.876 MB / 377.2 MB, free: 19.43 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/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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches