Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001591/0.001591, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.002079/0.002079, allocations: 212.8 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 68.08 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2485, allocations: 53.32 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003345/0.2518, allocations: 1.854 MB / 433.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006261/0.2581, allocations: 3.592 MB / 437.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.2583, allocations: 7.938 kB / 437.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.2588, allocations: 135.3 kB / 437.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.259, allocations: 39.66 kB / 437.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.2633, allocations: 1.688 MB / 439.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.2638, allocations: 307.2 kB / 439.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.2639, allocations: 24.67 kB / 439.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.2641, allocations: 115.5 kB / 439.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2643, allocations: 107.4 kB / 439.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.2643, allocations: 12 kB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.2646, allocations: 159.7 kB / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2648, allocations: 75.67 kB / 440.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2649, allocations: 99.3 kB / 440.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.2654, allocations: 342.5 kB / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2654, allocations: 0 / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2654, allocations: 0 / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2654, allocations: 0 / 440.6 MB, free: 14.84 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.0009451/0.2663, allocations: 0.5916 MB / 441.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2664, allocations: 8.031 kB / 441.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.2664, allocations: 36.73 kB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.2669, allocations: 288.5 kB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2669, allocations: 8.562 kB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.267, allocations: 19.89 kB / 441.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.2673, allocations: 202.1 kB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2673, allocations: 0 / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2673, allocations: 15.92 kB / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2673, allocations: 0 / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2675, allocations: 87.88 kB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.2684, allocations: 492.5 kB / 442.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.2687, allocations: 162.5 kB / 442.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.2688, allocations: 60.86 kB / 442.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2689, allocations: 4 kB / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2689, allocations: 30.56 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2689, allocations: 4 kB / 442.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005051/0.2694, allocations: 219.6 kB / 442.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.2696, allocations: 290.7 kB / 443 MB, free: 12.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.2699, allocations: 284.5 kB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.27, allocations: 29.7 kB / 443.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2701, allocations: 160.5 kB / 443.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.2702, allocations: 51.53 kB / 443.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2703, allocations: 61.69 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.2705, allocations: 342.8 kB / 444 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2707, allocations: 99.94 kB / 444 MB, free: 11.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2709, allocations: 180.5 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.2713, allocations: 209.2 kB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2713, allocations: 0 / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005161/0.2718, allocations: 309.6 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2718, allocations: 4.094 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.2718, allocations: 7.938 kB / 444.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2719, allocations: 4 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.2721, allocations: 51.95 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2721, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2723, allocations: 27.72 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2723, allocations: 16 kB / 444.8 MB, free: 10.23 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.0001673/0.2725, allocations: 149.7 kB / 445 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.2725, allocations: 23.97 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.2726, allocations: 37.92 kB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2726, allocations: 0 / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2726, allocations: 3.984 kB / 445.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2726, allocations: 7.938 kB / 445.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.2729, allocations: 265.5 kB / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2729, allocations: 0 / 445.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.2731, allocations: 31.92 kB / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2731, allocations: 0 / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.2732, allocations: 7.984 kB / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2732, allocations: 0 / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2732, allocations: 0 / 445.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.2737, allocations: 335.2 kB / 445.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.2738, allocations: 104.9 kB / 445.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.2738, allocations: 11.98 kB / 445.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.2739, allocations: 8.062 kB / 445.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.274, allocations: 11.92 kB / 445.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.274, allocations: 7.938 kB / 445.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.2742, allocations: 199.1 kB / 446 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2742, allocations: 0 / 446 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.2746, allocations: 71.88 kB / 446.1 MB, free: 8.883 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.0002799/0.2748, allocations: 147.1 kB / 446.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.2753, allocations: 269.5 kB / 446.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2753, allocations: 4 kB / 446.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2754, allocations: 58.66 kB / 446.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.2759, allocations: 81.5 kB / 446.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2771, allocations: 0.5665 MB / 447.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.2775, allocations: 0.7713 MB / 448 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.2777, allocations: 49.98 kB / 448 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.2777, allocations: 27.42 kB / 448.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2777, allocations: 0 / 448.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of Templates: time 0.008497/0.2862, allocations: 3.805 MB / 451.9 MB, free: 3.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.710717351175845]