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.0009248/0.0009248, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.0009215/0.0009215, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 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 0.8521/0.8521, allocations: 158.6 MB / 187.5 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.711e-05, allocations: 5.266 kB / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.006288/0.006315, allocations: 1.816 MB / 252.9 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00419/0.01051, allocations: 3.398 MB / 256.3 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.01064, allocations: 15.81 kB / 256.3 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.01102, allocations: 135.3 kB / 256.5 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.0111, allocations: 43.59 kB / 256.5 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.01425, allocations: 1.87 MB / 258.4 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.01456, allocations: 315 kB / 258.7 MB, free: 208 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.01466, allocations: 20.92 kB / 258.7 MB, free: 184 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.01481, allocations: 147.7 kB / 258.8 MB, free: 36 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.01491, allocations: 87.78 kB / 258.9 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.01493, allocations: 12 kB / 258.9 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.01518, allocations: 175.5 kB / 259.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.01528, allocations: 75.69 kB / 259.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.01533, allocations: 55.84 kB / 259.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.01592, allocations: 310.9 kB / 259.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01592, allocations: 4 kB / 259.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01592, allocations: 0 / 259.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.01593, allocations: 0 / 259.5 MB, free: 15.33 MB / 250.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.0006014/0.01653, allocations: 0.6083 MB / 260.1 MB, free: 14.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.01657, allocations: 11.98 kB / 260.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.01663, allocations: 40.75 kB / 260.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.01687, allocations: 232.6 kB / 260.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.01688, allocations: 16.56 kB / 260.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.01692, allocations: 24.33 kB / 260.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.01718, allocations: 434.8 kB / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01719, allocations: 0 / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.01721, allocations: 4 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.01722, allocations: 4 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.01728, allocations: 39.84 kB / 260.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.01777, allocations: 455.5 kB / 261.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.0179, allocations: 94.97 kB / 261.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.01794, allocations: 31.67 kB / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.01795, allocations: 0 / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.01798, allocations: 41.39 kB / 261.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.01798, allocations: 0 / 261.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002274/0.01821, allocations: 133.5 kB / 261.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.0183, allocations: 286.7 kB / 262 MB, free: 12.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01848, allocations: 322.3 kB / 262.3 MB, free: 12.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.0185, allocations: 33.7 kB / 262.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.0186, allocations: 211.2 kB / 262.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.01863, allocations: 55.59 kB / 262.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.0187, allocations: 67.36 kB / 262.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.01883, allocations: 0.5117 MB / 263.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.01889, allocations: 35.97 kB / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.01905, allocations: 368.2 kB / 263.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.01918, allocations: 112.3 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01919, allocations: 0 / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002005/0.01939, allocations: 177.5 kB / 263.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.0194, allocations: 4 kB / 263.8 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.01942, allocations: 7.984 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01943, allocations: 4.109 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.01959, allocations: 59.84 kB / 263.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01959, allocations: 0 / 263.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.01964, allocations: 23.78 kB / 263.9 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01966, allocations: 11.98 kB / 263.9 MB, free: 10.48 MB / 250.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 8.46e-05/0.01974, allocations: 168.5 kB / 264.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.01977, allocations: 31.81 kB / 264.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.01981, allocations: 33.84 kB / 264.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01981, allocations: 0 / 264.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01982, allocations: 4 kB / 264.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01982, allocations: 7.984 kB / 264.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.01998, allocations: 200.5 kB / 264.4 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01998, allocations: 0 / 264.4 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.02009, allocations: 23.98 kB / 264.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0201, allocations: 4 kB / 264.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.02011, allocations: 0 / 264.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.02012, allocations: 0 / 264.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02012, allocations: 0 / 264.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.02036, allocations: 305.8 kB / 264.7 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.02038, allocations: 31.75 kB / 264.7 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.02041, allocations: 12.06 kB / 264.7 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.02047, allocations: 11.98 kB / 264.7 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.02051, allocations: 3.984 kB / 264.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.02051, allocations: 4 kB / 264.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.02063, allocations: 215 kB / 265 MB, free: 9.375 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02063, allocations: 0 / 265 MB, free: 9.375 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.02088, allocations: 83.83 kB / 265 MB, free: 9.293 MB / 250.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.0002/0.02108, allocations: 139.1 kB / 265.2 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.0213, allocations: 197 kB / 265.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.0213, allocations: 8 kB / 265.4 MB, free: 8.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.02135, allocations: 43.61 kB / 265.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02164, allocations: 82.2 kB / 265.5 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.02226, allocations: 493.8 kB / 266 MB, free: 8.289 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.569e-05/0.02231, allocations: 100.3 kB / 266.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.02238, allocations: 41.91 kB / 266.1 MB, free: 8.133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.02242, allocations: 24.44 kB / 266.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02242, allocations: 0 / 266.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of Templates: time 0.006135/0.02855, allocations: 3.983 MB / 270.1 MB, free: 4.148 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] 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","",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.5627044870052487]