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.001338/0.001338, allocations: 107 kB / 21.18 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.001459/0.001459, allocations: 214.7 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.414/1.414, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.00146/0.00146, allocations: 52.06 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2422, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002885/0.2451, allocations: 1.769 MB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.2506, allocations: 3.328 MB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2507, allocations: 7.875 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.2511, allocations: 135.3 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2512, allocations: 43.7 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.255, allocations: 1.783 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.2554, allocations: 311 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2555, allocations: 28.86 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.2557, allocations: 119.5 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2558, allocations: 111.4 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.2559, allocations: 12 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.2562, allocations: 179.7 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2563, allocations: 71.7 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.2564, allocations: 83.45 kB / 440.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.2568, allocations: 350.3 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2568, allocations: 4 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2568, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2568, allocations: 0 / 440.6 MB, free: 14.39 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.0008427/0.2577, allocations: 0.5124 MB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2577, allocations: 8.031 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.2578, allocations: 32.75 kB / 441.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.2582, allocations: 230.5 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2582, allocations: 8.562 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.2583, allocations: 27.83 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.2587, allocations: 431.9 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2587, allocations: 0 / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2588, allocations: 8 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2588, allocations: 0 / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.259, allocations: 87.88 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.2597, allocations: 408.3 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.26, allocations: 174.5 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2602, allocations: 52.83 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2602, allocations: 4 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2602, allocations: 30.56 kB / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2602, allocations: 4 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004742/0.2607, allocations: 217.2 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.2608, allocations: 290.7 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.2611, allocations: 284.5 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2612, allocations: 37.64 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2613, allocations: 156.4 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.2613, allocations: 51.59 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.2614, allocations: 61.67 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2616, allocations: 342.8 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.2618, allocations: 107.9 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2621, allocations: 407.8 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2625, allocations: 210 kB / 444.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2625, allocations: 4 kB / 444.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004893/0.263, allocations: 301.3 kB / 445 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.263, allocations: 4 kB / 445 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.263, allocations: 4 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.263, allocations: 4 kB / 445 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.2633, allocations: 51.95 kB / 445.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2633, allocations: 0 / 445.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2635, allocations: 27.89 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2635, allocations: 15.88 kB / 445.1 MB, free: 9.496 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.0001417/0.2636, allocations: 153.8 kB / 445.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.2637, allocations: 23.86 kB / 445.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.2637, allocations: 25.92 kB / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2637, allocations: 7.984 kB / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2637, allocations: 0 / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2637, allocations: 0 / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.264, allocations: 201.1 kB / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.264, allocations: 0 / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2642, allocations: 27.92 kB / 445.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2642, allocations: 3.984 kB / 445.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2642, allocations: 12 kB / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2642, allocations: 0 / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2642, allocations: 0 / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.2647, allocations: 335.2 kB / 445.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.2648, allocations: 23.81 kB / 445.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.2648, allocations: 8.156 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.265, allocations: 19.92 kB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.265, allocations: 7.922 kB / 446 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.265, allocations: 4 kB / 446 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2652, allocations: 199.1 kB / 446.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2652, allocations: 4 kB / 446.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.2656, allocations: 75.88 kB / 446.2 MB, free: 8.332 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.0002619/0.2658, allocations: 147 kB / 446.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.2663, allocations: 260.9 kB / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2663, allocations: 0 / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2664, allocations: 63.91 kB / 446.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.2669, allocations: 85.56 kB / 446.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2679, allocations: 0.5595 MB / 447.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2681, allocations: 157.8 kB / 447.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2682, allocations: 41.92 kB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.2683, allocations: 19.44 kB / 447.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2683, allocations: 0 / 447.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Templates: time 0.008539/0.2768, allocations: 4.234 MB / 451.8 MB, free: 2.773 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 -s gbode -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: 4.387204965009005]