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.00131/0.00131, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001448/0.001448, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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 0.001534/0.001534, allocations: 63.83 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 53.35 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003073/0.2573, allocations: 1.771 MB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.263, allocations: 3.335 MB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2631, allocations: 11.88 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.2636, allocations: 139.3 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2637, allocations: 39.72 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.2677, allocations: 1.771 MB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.2681, allocations: 315.2 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2682, allocations: 24.92 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.2684, allocations: 119.5 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2686, allocations: 111.4 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.2687, allocations: 12 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.269, allocations: 175.7 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2691, allocations: 75.7 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.2692, allocations: 87.39 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.2697, allocations: 353.7 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2697, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2697, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2697, allocations: 0 / 440.6 MB, free: 14.38 MB / 350.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.0009233/0.2706, allocations: 0.5085 MB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2706, allocations: 16.02 kB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.2707, allocations: 32.75 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2711, allocations: 222.6 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2712, allocations: 8.562 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2712, allocations: 23.89 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.2717, allocations: 433.5 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2717, allocations: 0 / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2717, allocations: 8 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2717, allocations: 0 / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.2719, allocations: 87.88 kB / 442 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.2727, allocations: 408.3 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.273, allocations: 170.4 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.2732, allocations: 56.86 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2732, allocations: 4 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2732, allocations: 34.56 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.2732, allocations: 3.938 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004831/0.2737, allocations: 223.8 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.2739, allocations: 290.7 kB / 443.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.2741, allocations: 280.6 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.2742, allocations: 33.7 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2743, allocations: 160.4 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.2744, allocations: 47.59 kB / 443.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.2745, allocations: 61.69 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2746, allocations: 342.8 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2748, allocations: 99.94 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.2752, allocations: 403.8 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2755, allocations: 218 kB / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2755, allocations: 0 / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004815/0.276, allocations: 309.3 kB / 445 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.276, allocations: 4 kB / 445 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.276, allocations: 8 kB / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2761, allocations: 0 / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2763, allocations: 55.95 kB / 445.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2764, allocations: 0 / 445.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2765, allocations: 23.78 kB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2765, allocations: 15.94 kB / 445.1 MB, free: 9.484 MB / 350.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.0001416/0.2766, allocations: 149.8 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.2767, allocations: 27.81 kB / 445.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.241e-05/0.2767, allocations: 33.91 kB / 445.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2767, allocations: 0 / 445.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2768, allocations: 4 kB / 445.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2768, allocations: 0 / 445.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.277, allocations: 197.1 kB / 445.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.277, allocations: 0 / 445.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.2772, allocations: 27.92 kB / 445.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2772, allocations: 4 kB / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.2772, allocations: 8.109 kB / 445.6 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2772, allocations: 7.922 kB / 445.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2772, allocations: 0 / 445.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.2777, allocations: 331.2 kB / 445.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2777, allocations: 23.81 kB / 445.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.2778, allocations: 8.062 kB / 445.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2779, allocations: 7.984 kB / 445.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.2779, allocations: 15.92 kB / 446 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.278, allocations: 4 kB / 446 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.2781, allocations: 199.2 kB / 446.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2781, allocations: 3.938 kB / 446.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.2785, allocations: 79.88 kB / 446.2 MB, free: 8.32 MB / 350.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.0002481/0.2787, allocations: 143 kB / 446.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.2792, allocations: 264.9 kB / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2792, allocations: 0 / 446.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2793, allocations: 62.16 kB / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2798, allocations: 84.95 kB / 446.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2808, allocations: 0.5885 MB / 447.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.281, allocations: 165.8 kB / 447.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.2811, allocations: 19.44 kB / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2811, allocations: 0 / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of Templates: time 0.006641/0.2877, allocations: 3.988 MB / 451.5 MB, free: 2.945 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/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: 7.8281996629957575]