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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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=5003,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=5003,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.339e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003371/0.003415, allocations: 1.779 MB / 274 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.01005, allocations: 3.327 MB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.01021, allocations: 15.81 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.01067, allocations: 135.3 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.01078, allocations: 39.58 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.01581, allocations: 1.883 MB / 279.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.01632, allocations: 315 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.01644, allocations: 24.86 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.01675, allocations: 155.7 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.0169, allocations: 79.72 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.01693, allocations: 12 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.01727, allocations: 171.6 kB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.01739, allocations: 71.69 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.01749, allocations: 67.75 kB / 280.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.01805, allocations: 358.8 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01805, allocations: 4 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01805, allocations: 0 / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.01806, allocations: 0 / 280.6 MB, free: 9.395 MB / 266.7 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.0009399/0.019, allocations: 0.5085 MB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.01904, allocations: 15.98 kB / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.01914, allocations: 36.75 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01961, allocations: 237.8 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.01963, allocations: 8.562 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.0197, allocations: 32.3 kB / 281.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.02023, allocations: 429.8 kB / 281.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.02024, allocations: 0 / 281.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.02026, allocations: 7.984 kB / 281.8 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.02026, allocations: 4 kB / 281.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.02047, allocations: 87.88 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.02132, allocations: 408.2 kB / 282.3 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.02165, allocations: 162.5 kB / 282.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.02178, allocations: 56.83 kB / 282.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.0218, allocations: 4 kB / 282.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.02184, allocations: 38.56 kB / 282.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.02184, allocations: 0 / 282.6 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006825/0.02252, allocations: 221.5 kB / 282.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/0.02274, allocations: 286.7 kB / 283.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.02309, allocations: 288.5 kB / 283.4 MB, free: 6.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.02312, allocations: 29.7 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.02327, allocations: 156.5 kB / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.02333, allocations: 47.59 kB / 283.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.02346, allocations: 65.67 kB / 283.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.02365, allocations: 342.8 kB / 284 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.02385, allocations: 96.05 kB / 284.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.02428, allocations: 419.7 kB / 284.5 MB, free: 5.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.02468, allocations: 213.5 kB / 284.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02468, allocations: 4 kB / 284.7 MB, free: 4.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005434/0.02523, allocations: 317.4 kB / 285 MB, free: 4.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.02525, allocations: 7.281 kB / 285 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.02528, allocations: 4 kB / 285 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.0253, allocations: 0 / 285 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.0256, allocations: 59.89 kB / 285.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.02561, allocations: 0 / 285.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.02573, allocations: 23.84 kB / 285.1 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.02576, allocations: 4 kB / 285.1 MB, free: 4.465 MB / 266.7 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.0002/0.02596, allocations: 161.7 kB / 285.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.02603, allocations: 27.86 kB / 285.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/0.02611, allocations: 29.91 kB / 285.3 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02611, allocations: 4 kB / 285.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.02612, allocations: 0 / 285.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.02612, allocations: 0 / 285.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.02643, allocations: 201.1 kB / 285.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.02644, allocations: 0 / 285.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.02661, allocations: 23.98 kB / 285.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.02661, allocations: 0 / 285.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.02664, allocations: 15.98 kB / 285.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.02664, allocations: 0 / 285.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02664, allocations: 0 / 285.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.02727, allocations: 346.4 kB / 285.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.02731, allocations: 19.81 kB / 285.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.02735, allocations: 8.062 kB / 285.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.02748, allocations: 15.98 kB / 286 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.02754, allocations: 3.984 kB / 286 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.02755, allocations: 4 kB / 286 MB, free: 3.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.02779, allocations: 195.1 kB / 286.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02779, allocations: 4 kB / 286.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.02822, allocations: 79.88 kB / 286.2 MB, free: 3.289 MB / 266.7 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.0003337/0.02855, allocations: 158.5 kB / 286.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.02904, allocations: 264.9 kB / 286.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.02905, allocations: 7.938 kB / 286.7 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.02919, allocations: 59.97 kB / 286.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.02971, allocations: 76.03 kB / 286.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.03091, allocations: 0.5439 MB / 287.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.03113, allocations: 157.8 kB / 287.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.03127, allocations: 45.91 kB / 287.5 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.03133, allocations: 20.5 kB / 287.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03133, allocations: 0 / 287.5 MB, free: 1.902 MB / 266.7 MB Notification: Performance of Templates: time 0.0101/0.04143, allocations: 3.983 MB / 291.5 MB, free: 13.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951344490982592]