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.001376/0.001376, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 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.001636/0.001636, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.481/1.481, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0.7969 kB / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.578e-05, allocations: 9.594 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00407/0.004106, allocations: 1.789 MB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007118/0.01122, allocations: 3.324 MB / 330.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.01147, allocations: 15.22 kB / 330.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.01204, allocations: 139.7 kB / 330.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.0122, allocations: 36.39 kB / 330.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.01806, allocations: 1.875 MB / 332.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.01854, allocations: 308.1 kB / 332.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.01867, allocations: 31.55 kB / 332.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.01894, allocations: 147.9 kB / 332.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.0191, allocations: 93.34 kB / 332.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.01913, allocations: 12.5 kB / 332.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.01946, allocations: 167 kB / 333 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.01959, allocations: 76.11 kB / 333 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.01968, allocations: 60.69 kB / 333.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.02017, allocations: 362.5 kB / 333.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02018, allocations: 1.375 kB / 333.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.02018, allocations: 3.938 kB / 333.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.02019, allocations: 0 / 333.5 MB, free: 11.52 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.0008719/0.02106, allocations: 0.5038 MB / 334 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.0211, allocations: 9.594 kB / 334 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.02117, allocations: 32.72 kB / 334 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.02155, allocations: 227.4 kB / 334.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.02156, allocations: 13.39 kB / 334.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.02163, allocations: 22.55 kB / 334.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.02212, allocations: 438.9 kB / 334.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.02213, allocations: 0 / 334.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.02215, allocations: 5.531 kB / 334.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.02216, allocations: 2.719 kB / 334.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.02238, allocations: 80.94 kB / 334.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.02319, allocations: 414.2 kB / 335.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.02351, allocations: 159.9 kB / 335.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.02362, allocations: 56.67 kB / 335.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.02364, allocations: 1.125 kB / 335.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.02368, allocations: 37.34 kB / 335.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.02368, allocations: 0 / 335.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005441/0.02422, allocations: 221.9 kB / 335.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/0.02445, allocations: 290.3 kB / 335.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.02479, allocations: 286.7 kB / 336.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.02483, allocations: 32.27 kB / 336.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.02497, allocations: 150.5 kB / 336.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.02503, allocations: 52.97 kB / 336.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.02515, allocations: 65.55 kB / 336.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.02534, allocations: 341.8 kB / 336.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.02555, allocations: 106.5 kB / 336.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.02596, allocations: 407.3 kB / 337.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.02634, allocations: 218.2 kB / 337.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.02634, allocations: 4 kB / 337.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005295/0.02687, allocations: 302.4 kB / 337.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.02689, allocations: 8.312 kB / 337.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.02692, allocations: 7.234 kB / 337.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.02693, allocations: 1.25 kB / 337.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.02722, allocations: 49.88 kB / 337.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.02723, allocations: 0.9375 kB / 337.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.02737, allocations: 23.16 kB / 337.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.02739, allocations: 13.83 kB / 338 MB, free: 7.82 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.0001811/0.02758, allocations: 153.7 kB / 338.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.02764, allocations: 24.58 kB / 338.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.02771, allocations: 27.25 kB / 338.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.02771, allocations: 2.875 kB / 338.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.02772, allocations: 0 / 338.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02772, allocations: 0 / 338.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.02805, allocations: 202 kB / 338.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02805, allocations: 96 / 338.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.02824, allocations: 31.98 kB / 338.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02824, allocations: 3.938 kB / 338.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.02826, allocations: 11.98 kB / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02827, allocations: 0 / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.02827, allocations: 0 / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.02884, allocations: 335.2 kB / 338.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.02889, allocations: 23.81 kB / 338.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.02893, allocations: 8.062 kB / 338.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.02907, allocations: 7.984 kB / 338.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.02913, allocations: 11.98 kB / 338.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.02914, allocations: 7.938 kB / 338.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.02944, allocations: 195.1 kB / 339 MB, free: 6.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02944, allocations: 4 kB / 339 MB, free: 6.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.02987, allocations: 75.88 kB / 339.1 MB, free: 6.75 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.0003021/0.03017, allocations: 155 kB / 339.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.03068, allocations: 269.1 kB / 339.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03068, allocations: 0 / 339.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.03081, allocations: 67.89 kB / 339.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.03135, allocations: 90.55 kB / 339.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.0325, allocations: 0.5107 MB / 340.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.03269, allocations: 161.8 kB / 340.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.0329, allocations: 37.92 kB / 340.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.03296, allocations: 20.5 kB / 340.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.03296, allocations: 4 kB / 340.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of Templates: time 0.009611/0.04257, allocations: 3.979 MB / 344.3 MB, free: 1.473 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.554428000003099]