Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9842/0.9842, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 3.938 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.254e-05, allocations: 2.312 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00315/0.003173, allocations: 1.811 MB / 276 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006128/0.009301, allocations: 3.363 MB / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.009482, allocations: 15.81 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.009986, allocations: 143.3 kB / 279.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.01011, allocations: 39.59 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.01469, allocations: 1.872 MB / 281.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.01516, allocations: 323 kB / 281.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.01528, allocations: 16.94 kB / 281.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.01556, allocations: 159.6 kB / 281.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.0157, allocations: 83.72 kB / 282 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.01574, allocations: 12 kB / 282 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.01605, allocations: 171.6 kB / 282.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.01616, allocations: 75.67 kB / 282.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.01624, allocations: 59.78 kB / 282.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.01667, allocations: 310.9 kB / 282.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.01668, allocations: 0 / 282.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01668, allocations: 0 / 282.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01668, allocations: 0 / 282.6 MB, free: 11.99 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.0009614/0.01765, allocations: 0.6122 MB / 283.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01768, allocations: 8.031 kB / 283.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.01777, allocations: 44.75 kB / 283.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.01808, allocations: 232.6 kB / 283.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.0181, allocations: 16.55 kB / 283.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.01814, allocations: 16.38 kB / 283.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.01849, allocations: 432.8 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.0185, allocations: 4 kB / 284 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.01851, allocations: 4 kB / 284 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.01852, allocations: 4 kB / 284 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.01859, allocations: 27.91 kB / 284 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.0192, allocations: 400.1 kB / 284.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01936, allocations: 86.89 kB / 284.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.01941, allocations: 23.69 kB / 284.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.01942, allocations: 8 kB / 284.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.01946, allocations: 45.38 kB / 284.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.01946, allocations: 0 / 284.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002801/0.01974, allocations: 124.8 kB / 284.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.01985, allocations: 286.7 kB / 284.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.02013, allocations: 326.1 kB / 285.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.02015, allocations: 33.7 kB / 285.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.02028, allocations: 207.2 kB / 285.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.02033, allocations: 55.52 kB / 285.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.02044, allocations: 75.31 kB / 285.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.02061, allocations: 0.5117 MB / 286.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.02068, allocations: 27.98 kB / 286.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.02091, allocations: 364.1 kB / 286.5 MB, free: 7.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.02107, allocations: 85.05 kB / 286.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02107, allocations: 7.875 kB / 286.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002752/0.02134, allocations: 169.4 kB / 286.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.02136, allocations: 4 kB / 286.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.02138, allocations: 7.984 kB / 286.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.02139, allocations: 0 / 286.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.02161, allocations: 51.91 kB / 286.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.02162, allocations: 4 kB / 286.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.0217, allocations: 23.84 kB / 286.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.02172, allocations: 4 kB / 286.9 MB, free: 7.281 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.0001198/0.02184, allocations: 172.5 kB / 287 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.0219, allocations: 31.86 kB / 287.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.02195, allocations: 25.91 kB / 287.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.02195, allocations: 4 kB / 287.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.02195, allocations: 0 / 287.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.02196, allocations: 0 / 287.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.02219, allocations: 169 kB / 287.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02219, allocations: 0 / 287.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.02232, allocations: 27.98 kB / 287.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.02233, allocations: 3.938 kB / 287.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.02234, allocations: 4 kB / 287.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.02235, allocations: 7.984 kB / 287.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.02235, allocations: 0 / 287.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.02265, allocations: 287.7 kB / 287.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.02269, allocations: 31.73 kB / 287.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.02273, allocations: 8 kB / 287.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.02283, allocations: 8 kB / 287.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.02286, allocations: 3.984 kB / 287.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.02287, allocations: 8 kB / 287.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.02301, allocations: 210.9 kB / 287.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02301, allocations: 0 / 287.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00041/0.02342, allocations: 79.86 kB / 287.9 MB, free: 6.164 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.0002431/0.02366, allocations: 151 kB / 288.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.02393, allocations: 172.7 kB / 288.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02393, allocations: 0 / 288.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.024, allocations: 47.59 kB / 288.3 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.02447, allocations: 78.5 kB / 288.4 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.0253, allocations: 498.7 kB / 288.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.093e-05/0.02538, allocations: 96.16 kB / 288.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.02548, allocations: 33.91 kB / 289 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.02573, allocations: 154.1 kB / 289.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02573, allocations: 0 / 289.1 MB, free: 4.875 MB / 266.7 MB Notification: Performance of Templates: time 0.009014/0.03474, allocations: 4.39 MB / 293.5 MB, free: 0.5664 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7883384246379137]