Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00156/0.00156, allocations: 80.39 kB / 21.43 MB, free: 296 kB / 14.72 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.001843/0.001843, allocations: 164.5 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 298.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.143e-05, allocations: 6.219 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003097/0.003129, allocations: 1.756 MB / 300.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.009039, allocations: 3.313 MB / 304 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.009173, allocations: 11.81 kB / 304 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.009617, allocations: 143.3 kB / 304.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.009725, allocations: 35.66 kB / 304.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.01461, allocations: 1.862 MB / 306.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.0152, allocations: 319 kB / 306.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.01535, allocations: 20.92 kB / 306.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.01563, allocations: 147.7 kB / 306.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.01584, allocations: 87.69 kB / 306.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.01588, allocations: 12 kB / 306.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.01633, allocations: 171.6 kB / 306.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01646, allocations: 75.69 kB / 306.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.01655, allocations: 59.81 kB / 306.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.01706, allocations: 354.9 kB / 307.3 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01707, allocations: 0 / 307.3 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01707, allocations: 0 / 307.3 MB, free: 372 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01708, allocations: 0 / 307.3 MB, free: 372 kB / 286.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.000864/0.01794, allocations: 0.5123 MB / 307.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.01798, allocations: 19.98 kB / 307.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.01805, allocations: 28.75 kB / 307.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01847, allocations: 233.8 kB / 308.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.01849, allocations: 8.547 kB / 308.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.01854, allocations: 24.33 kB / 308.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.01906, allocations: 437.7 kB / 308.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.01907, allocations: 0 / 308.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01909, allocations: 8 kB / 308.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.01909, allocations: 0 / 308.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.0193, allocations: 91.88 kB / 308.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.02006, allocations: 404.2 kB / 309 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.02036, allocations: 170.4 kB / 309.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.02047, allocations: 56.83 kB / 309.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.02049, allocations: 4 kB / 309.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.02052, allocations: 34.56 kB / 309.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.02052, allocations: 0 / 309.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004827/0.021, allocations: 225.4 kB / 309.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.02118, allocations: 286.7 kB / 309.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.02147, allocations: 280.6 kB / 310 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.0215, allocations: 33.64 kB / 310.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.02163, allocations: 156.5 kB / 310.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.02168, allocations: 51.58 kB / 310.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.02177, allocations: 61.69 kB / 310.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.02195, allocations: 342.8 kB / 310.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.02214, allocations: 99.94 kB / 310.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.02258, allocations: 415.8 kB / 311.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.02294, allocations: 209.2 kB / 311.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02294, allocations: 0 / 311.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005102/0.02345, allocations: 305.6 kB / 311.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.02348, allocations: 4 kB / 311.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.0235, allocations: 8.094 kB / 311.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.02351, allocations: 3.938 kB / 311.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.0238, allocations: 55.91 kB / 311.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.0238, allocations: 4 kB / 311.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.02391, allocations: 27.78 kB / 311.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.02394, allocations: 4 kB / 311.8 MB, free: 11.44 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.0001545/0.02409, allocations: 153.7 kB / 311.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.02415, allocations: 27.81 kB / 312 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.02421, allocations: 37.84 kB / 312 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.02421, allocations: 0 / 312 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.02421, allocations: 0 / 312 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02422, allocations: 4 kB / 312 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.02448, allocations: 193.2 kB / 312.2 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.02448, allocations: 4 kB / 312.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.02465, allocations: 19.98 kB / 312.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02465, allocations: 4 kB / 312.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02467, allocations: 7.984 kB / 312.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.02467, allocations: 4 kB / 312.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02467, allocations: 0 / 312.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.02516, allocations: 335.1 kB / 312.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.0252, allocations: 27.75 kB / 312.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.02524, allocations: 8.062 kB / 312.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.02538, allocations: 7.984 kB / 312.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.02542, allocations: 15.98 kB / 312.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.02543, allocations: 4 kB / 312.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.02563, allocations: 195.1 kB / 312.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02563, allocations: 0 / 312.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.02602, allocations: 83.83 kB / 312.9 MB, free: 10.28 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.0002802/0.0263, allocations: 143.8 kB / 313 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.02681, allocations: 277 kB / 313.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.02681, allocations: 7.938 kB / 313.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.02694, allocations: 71.83 kB / 313.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.02748, allocations: 72.61 kB / 313.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.02858, allocations: 0.5109 MB / 314 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.02875, allocations: 165.7 kB / 314.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.02888, allocations: 45.89 kB / 314.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.02894, allocations: 24.5 kB / 314.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02894, allocations: 7.938 kB / 314.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Templates: time 0.008995/0.03793, allocations: 3.957 MB / 318.2 MB, free: 4.938 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.273222930729389]