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.001063/0.001063, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001061/0.001061, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.545e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00233/0.002355, allocations: 1.819 MB / 275.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.006389, allocations: 3.363 MB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.006562, allocations: 11.81 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.006957, allocations: 139.3 kB / 279.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.047e-05/0.007047, allocations: 39.62 kB / 279.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.01068, allocations: 1.886 MB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.01107, allocations: 315.1 kB / 281.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.01119, allocations: 20.94 kB / 281.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.01142, allocations: 155.6 kB / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.01153, allocations: 83.72 kB / 281.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.01156, allocations: 12 kB / 281.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.01184, allocations: 171.6 kB / 282.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.01195, allocations: 75.67 kB / 282.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.01201, allocations: 63.77 kB / 282.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.01241, allocations: 306.9 kB / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01241, allocations: 0 / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01241, allocations: 3.938 kB / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.01242, allocations: 4 kB / 282.5 MB, free: 11.86 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.0006344/0.01305, allocations: 0.6045 MB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.01309, allocations: 16.02 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.697e-05/0.01316, allocations: 36.75 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.0134, allocations: 232.6 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.01341, allocations: 8.562 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.01344, allocations: 24.36 kB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.01377, allocations: 438.1 kB / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01378, allocations: 0 / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.01379, allocations: 4 kB / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.0138, allocations: 4 kB / 283.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.01385, allocations: 23.97 kB / 283.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.01436, allocations: 404.1 kB / 284.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.01448, allocations: 86.89 kB / 284.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.01452, allocations: 31.67 kB / 284.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.01453, allocations: 4 kB / 284.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.01455, allocations: 41.39 kB / 284.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.01455, allocations: 0 / 284.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002103/0.01476, allocations: 129.1 kB / 284.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.01486, allocations: 282.8 kB / 284.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01505, allocations: 330 kB / 285.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.01507, allocations: 33.7 kB / 285.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01517, allocations: 207.2 kB / 285.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.01521, allocations: 55.52 kB / 285.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.01528, allocations: 75.31 kB / 285.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.01542, allocations: 0.5157 MB / 286.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.01547, allocations: 27.97 kB / 286.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.01563, allocations: 360.2 kB / 286.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.01572, allocations: 88.34 kB / 286.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.01572, allocations: 7.922 kB / 286.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000173/0.0159, allocations: 161.5 kB / 286.7 MB, free: 7.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01591, allocations: 4 kB / 286.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.01593, allocations: 15.98 kB / 286.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.01594, allocations: 0 / 286.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.01608, allocations: 47.91 kB / 286.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01609, allocations: 8 kB / 286.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.01614, allocations: 19.84 kB / 286.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01615, allocations: 4 kB / 286.8 MB, free: 7.152 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.0001046/0.01626, allocations: 172.5 kB / 287 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01629, allocations: 31.84 kB / 287 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.01633, allocations: 21.92 kB / 287 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01634, allocations: 4 kB / 287 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01634, allocations: 3.938 kB / 287 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01634, allocations: 3.984 kB / 287 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.0165, allocations: 165.1 kB / 287.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0165, allocations: 3.984 kB / 287.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.01659, allocations: 20 kB / 287.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01659, allocations: 3.938 kB / 287.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.01661, allocations: 11.98 kB / 287.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01661, allocations: 0 / 287.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01661, allocations: 0 / 287.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.01683, allocations: 287.6 kB / 287.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.01685, allocations: 31.75 kB / 287.5 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01688, allocations: 4 kB / 287.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.01693, allocations: 12 kB / 287.6 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.01696, allocations: 7.984 kB / 287.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.01697, allocations: 3.938 kB / 287.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.92e-05/0.01707, allocations: 214.9 kB / 287.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01707, allocations: 0 / 287.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01732, allocations: 75.88 kB / 287.9 MB, free: 6.039 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.0001827/0.0175, allocations: 147.1 kB / 288 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.01769, allocations: 178.4 kB / 288.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0177, allocations: 0 / 288.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.01774, allocations: 51.11 kB / 288.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01803, allocations: 77.72 kB / 288.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.01863, allocations: 494.7 kB / 288.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.01868, allocations: 96.16 kB / 288.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.01876, allocations: 25.94 kB / 288.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.01893, allocations: 158.1 kB / 289.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01893, allocations: 0 / 289.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of Templates: time 0.006698/0.02563, allocations: 4.377 MB / 293.4 MB, free: 460 kB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0264188102446496]