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.001333/0.001333, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001324/0.001324, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.419/1.419, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 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 1.713e-06/1.713e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.481e-05, allocations: 3.812 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002558/0.002582, allocations: 1.785 MB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.008379, allocations: 3.323 MB / 330.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.008508, allocations: 15.09 kB / 330.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.008943, allocations: 135 kB / 330.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.009064, allocations: 44.84 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.01351, allocations: 1.872 MB / 332.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.01391, allocations: 308.6 kB / 332.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.01403, allocations: 26.78 kB / 332.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.01429, allocations: 152.4 kB / 332.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.01443, allocations: 89.48 kB / 332.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.01447, allocations: 12.19 kB / 332.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.01478, allocations: 167.2 kB / 332.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.01491, allocations: 79.89 kB / 333 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.01499, allocations: 61.17 kB / 333 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.01546, allocations: 358.3 kB / 333.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01546, allocations: 0 / 333.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01546, allocations: 0 / 333.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.01547, allocations: 1.219 kB / 333.4 MB, free: 11.44 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.000857/0.01633, allocations: 0.5073 MB / 333.9 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01636, allocations: 13.36 kB / 333.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.01643, allocations: 31.94 kB / 333.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.01682, allocations: 232.2 kB / 334.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.01683, allocations: 9.281 kB / 334.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.01688, allocations: 26.88 kB / 334.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.01733, allocations: 434.1 kB / 334.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01734, allocations: 0 / 334.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.01736, allocations: 10.77 kB / 334.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.01736, allocations: 1.438 kB / 334.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.01756, allocations: 86.25 kB / 334.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.01829, allocations: 409.1 kB / 335.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.01862, allocations: 167.3 kB / 335.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.01874, allocations: 56.95 kB / 335.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01875, allocations: 1.062 kB / 335.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.01879, allocations: 33.81 kB / 335.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01879, allocations: 0 / 335.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004838/0.01927, allocations: 220 kB / 335.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.01943, allocations: 293.7 kB / 335.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.01972, allocations: 288 kB / 336.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.01975, allocations: 32.06 kB / 336.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01988, allocations: 154.1 kB / 336.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.01993, allocations: 58.36 kB / 336.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.02003, allocations: 60.22 kB / 336.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.02018, allocations: 342 kB / 336.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.02036, allocations: 98.28 kB / 336.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.02072, allocations: 411.2 kB / 337.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.02106, allocations: 214.4 kB / 337.5 MB, free: 7.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02106, allocations: 0 / 337.5 MB, free: 7.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004902/0.02155, allocations: 305.6 kB / 337.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.02156, allocations: 5.469 kB / 337.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.02158, allocations: 3.438 kB / 337.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.0216, allocations: 1.156 kB / 337.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.02187, allocations: 54.17 kB / 337.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.02188, allocations: 1.031 kB / 337.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.02199, allocations: 22.81 kB / 337.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.02201, allocations: 14.62 kB / 337.9 MB, free: 7.738 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.0001472/0.02216, allocations: 152.4 kB / 338.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.02221, allocations: 24.8 kB / 338.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.02227, allocations: 31.97 kB / 338.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02228, allocations: 1.844 kB / 338.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.02229, allocations: 0 / 338.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02229, allocations: 96 / 338.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.02255, allocations: 204.7 kB / 338.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.02255, allocations: 0 / 338.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.02273, allocations: 27.92 kB / 338.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.02273, allocations: 4 kB / 338.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.02275, allocations: 11.97 kB / 338.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02276, allocations: 4 kB / 338.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02276, allocations: 0 / 338.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.02325, allocations: 331.2 kB / 338.7 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.02329, allocations: 23.81 kB / 338.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.02333, allocations: 8.062 kB / 338.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.02346, allocations: 12.05 kB / 338.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.0235, allocations: 11.98 kB / 338.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.02352, allocations: 8 kB / 338.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.02371, allocations: 199.1 kB / 338.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02371, allocations: 3.938 kB / 338.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.02406, allocations: 79.88 kB / 339 MB, free: 6.613 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.0002529/0.02431, allocations: 147.1 kB / 339.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.02476, allocations: 264.9 kB / 339.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02476, allocations: 0 / 339.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.02489, allocations: 63.89 kB / 339.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.02539, allocations: 80.08 kB / 339.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.02637, allocations: 0.5108 MB / 340.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.02654, allocations: 161.8 kB / 340.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02665, allocations: 45.89 kB / 340.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.02671, allocations: 24.5 kB / 340.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02671, allocations: 0 / 340.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Templates: time 0.008416/0.03513, allocations: 3.974 MB / 344.3 MB, free: 1.34 MB / 302.1 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.271098401397467]