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.0008421/0.0008421, allocations: 94.25 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001315, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 4 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 51.53 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001821/0.1039, allocations: 1.538 MB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005379/0.1093, allocations: 3.886 MB / 364.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1094, allocations: 7.875 kB / 364.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.1098, allocations: 107.5 kB / 364.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.1099, allocations: 35.78 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.113, allocations: 1.382 MB / 366.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.1134, allocations: 283.2 kB / 366.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1135, allocations: 36.98 kB / 366.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1137, allocations: 103.5 kB / 366.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1138, allocations: 103.4 kB / 366.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1139, allocations: 8 kB / 366.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1141, allocations: 135.7 kB / 366.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1142, allocations: 67.75 kB / 366.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.1143, allocations: 117 kB / 367 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1147, allocations: 326.8 kB / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1147, allocations: 0 / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1147, allocations: 0 / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1147, allocations: 0 / 367.4 MB, free: 5.18 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.0007157/0.1154, allocations: 0.5414 MB / 367.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1155, allocations: 8.875 kB / 367.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.1155, allocations: 32.56 kB / 367.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1158, allocations: 284.1 kB / 368.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1159, allocations: 8.562 kB / 368.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.1159, allocations: 23.92 kB / 368.3 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.1162, allocations: 202.1 kB / 368.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1163, allocations: 0 / 368.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1163, allocations: 12 kB / 368.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1163, allocations: 4 kB / 368.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1165, allocations: 95.81 kB / 368.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.1173, allocations: 488.6 kB / 369 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1176, allocations: 170.4 kB / 369.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1177, allocations: 56.83 kB / 369.3 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1177, allocations: 4 kB / 369.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1177, allocations: 38.56 kB / 369.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 7.214e-06/0.1177, allocations: 4.109 kB / 369.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004607/0.1182, allocations: 236.7 kB / 369.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1183, allocations: 286.7 kB / 369.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1186, allocations: 280.5 kB / 370.1 MB, free: 2.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1186, allocations: 37.69 kB / 370.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1188, allocations: 156.4 kB / 370.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1188, allocations: 47.36 kB / 370.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1189, allocations: 41.62 kB / 370.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.119, allocations: 338.8 kB / 370.7 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1192, allocations: 99.94 kB / 370.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1194, allocations: 182.1 kB / 371 MB, free: 1.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1198, allocations: 213.1 kB / 371.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1198, allocations: 0 / 371.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004686/0.1202, allocations: 313.5 kB / 371.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1203, allocations: 7.984 kB / 371.5 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.1203, allocations: 4 kB / 371.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1203, allocations: 0 / 371.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1206, allocations: 51.91 kB / 371.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1206, allocations: 0 / 371.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1207, allocations: 35.61 kB / 371.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1208, allocations: 8 kB / 371.6 MB, free: 0.6094 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.0001388/0.1209, allocations: 149.8 kB / 371.7 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.121, allocations: 27.66 kB / 371.8 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.121, allocations: 29.97 kB / 371.8 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.121, allocations: 0 / 371.8 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.121, allocations: 0 / 371.8 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1211, allocations: 11.92 kB / 371.8 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1213, allocations: 261.5 kB / 372.1 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1213, allocations: 3.984 kB / 372.1 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1215, allocations: 23.98 kB / 372.1 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1215, allocations: 0 / 372.1 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1216, allocations: 15.98 kB / 372.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1216, allocations: 0 / 372.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1216, allocations: 0 / 372.1 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2003/0.3218, allocations: 336 kB / 372.4 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.3219, allocations: 100.8 kB / 372.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.322, allocations: 9.078 kB / 372.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3222, allocations: 19.47 kB / 372.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.3222, allocations: 8.703 kB / 372.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3222, allocations: 3.719 kB / 372.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3225, allocations: 197.8 kB / 372.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3225, allocations: 0 / 372.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.323, allocations: 79.56 kB / 372.8 MB, free: 19.72 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.0002844/0.3233, allocations: 135 kB / 373 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005479/0.3238, allocations: 290.8 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3238, allocations: 1.344 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.324, allocations: 66.61 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3245, allocations: 67.64 kB / 373.4 MB, free: 19.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.3257, allocations: 0.6407 MB / 374 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.326, allocations: 0.7725 MB / 374.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.3262, allocations: 41.11 kB / 374.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.3262, allocations: 21.64 kB / 374.9 MB, free: 18.51 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3262, allocations: 3.391 kB / 374.9 MB, free: 18.51 MB / 302.1 MB Notification: Performance of Templates: time 0.009092/0.3353, allocations: 3.568 MB / 378.4 MB, free: 18.3 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