Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001956/0.001956, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002385/0.002385, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 63.89 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2469, allocations: 53.4 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003084/0.25, allocations: 1.857 MB / 434.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005914/0.2559, allocations: 3.6 MB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2561, allocations: 11.88 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.2565, allocations: 131.3 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2566, allocations: 43.72 kB / 438.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.2607, allocations: 1.768 MB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.2612, allocations: 319.1 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2613, allocations: 20.94 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.2615, allocations: 119.5 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.2617, allocations: 111.4 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2617, allocations: 12 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.2621, allocations: 183.6 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2622, allocations: 75.69 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2623, allocations: 99.34 kB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.2628, allocations: 348.3 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2628, allocations: 4 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2628, allocations: 0 / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2628, allocations: 0 / 441.1 MB, free: 14.07 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.0008741/0.2637, allocations: 0.5163 MB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2637, allocations: 8.031 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.2638, allocations: 32.75 kB / 441.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.2642, allocations: 226.5 kB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2642, allocations: 12.5 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.2643, allocations: 27.88 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.2646, allocations: 197.5 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2646, allocations: 4 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2646, allocations: 4 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2646, allocations: 4 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2648, allocations: 87.88 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/0.2657, allocations: 467.7 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.266, allocations: 162.4 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.2661, allocations: 56.83 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2661, allocations: 0 / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2661, allocations: 38.56 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.2661, allocations: 0 / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004732/0.2666, allocations: 221.5 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.2668, allocations: 286.8 kB / 443.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.2671, allocations: 288.5 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2671, allocations: 33.7 kB / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2672, allocations: 152.5 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.2673, allocations: 55.58 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.2674, allocations: 61.69 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2675, allocations: 338.8 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2677, allocations: 99.94 kB / 444.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.268, allocations: 172.5 kB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.2683, allocations: 213.5 kB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2683, allocations: 7.938 kB / 444.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004924/0.2688, allocations: 305.4 kB / 445.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2688, allocations: 4 kB / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.2689, allocations: 4 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2689, allocations: 0 / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.2691, allocations: 47.95 kB / 445.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2691, allocations: 8.047 kB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2693, allocations: 35.66 kB / 445.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2693, allocations: 7.984 kB / 445.2 MB, free: 9.664 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.0001508/0.2694, allocations: 154.5 kB / 445.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.2695, allocations: 23.86 kB / 445.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.2695, allocations: 25.91 kB / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2695, allocations: 4 kB / 445.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2695, allocations: 0 / 445.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2696, allocations: 3.938 kB / 445.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2699, allocations: 236.5 kB / 445.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2699, allocations: 3.984 kB / 445.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.27, allocations: 31.92 kB / 445.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.27, allocations: 3.984 kB / 445.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2701, allocations: 8 kB / 445.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2701, allocations: 0 / 445.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2701, allocations: 0 / 445.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.2706, allocations: 339.1 kB / 446 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.2706, allocations: 23.81 kB / 446 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2706, allocations: 12.05 kB / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2708, allocations: 12 kB / 446.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2708, allocations: 12.05 kB / 446.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2708, allocations: 4 kB / 446.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.271, allocations: 195.1 kB / 446.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.271, allocations: 0 / 446.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.2714, allocations: 87.84 kB / 446.4 MB, free: 8.441 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.0002351/0.2716, allocations: 139.1 kB / 446.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.2721, allocations: 269 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2721, allocations: 0 / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2722, allocations: 67.89 kB / 446.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2727, allocations: 84.31 kB / 446.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2738, allocations: 0.5924 MB / 447.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2742, allocations: 0.7713 MB / 448.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.2743, allocations: 19.44 kB / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2743, allocations: 0 / 448.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Templates: time 0.006784/0.281, allocations: 3.913 MB / 452.2 MB, free: 2.516 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.824859553948045]