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.001331/0.001331, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001455/0.001455, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001916/0.001916, allocations: 64.77 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002884/0.2557, allocations: 1.863 MB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.2611, allocations: 3.604 MB / 437.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2613, allocations: 15.81 kB / 437.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.2617, allocations: 127.4 kB / 438 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.489e-05/0.2618, allocations: 39.66 kB / 438 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.2656, allocations: 1.773 MB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.266, allocations: 315.1 kB / 440.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2661, allocations: 24.94 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.2663, allocations: 119.5 kB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2665, allocations: 103.4 kB / 440.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.2665, allocations: 12 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2668, allocations: 183.7 kB / 440.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2669, allocations: 79.67 kB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.267, allocations: 95.36 kB / 440.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.2674, allocations: 340.7 kB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2674, allocations: 8 kB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2674, allocations: 0 / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.2674, allocations: 0 / 441.1 MB, free: 14.29 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.0008061/0.2682, allocations: 0.5163 MB / 441.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2682, allocations: 12.03 kB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.2683, allocations: 28.75 kB / 441.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.2687, allocations: 234.5 kB / 441.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2687, allocations: 8.562 kB / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.2688, allocations: 19.89 kB / 441.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2691, allocations: 199.5 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2691, allocations: 7.922 kB / 442.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2691, allocations: 11.94 kB / 442.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2691, allocations: 0 / 442.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.2693, allocations: 87.88 kB / 442.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.2701, allocations: 463.6 kB / 442.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2704, allocations: 166.1 kB / 442.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2705, allocations: 52.83 kB / 442.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2705, allocations: 4 kB / 442.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2705, allocations: 34.55 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.2705, allocations: 4 kB / 442.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004682/0.271, allocations: 221.4 kB / 443.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.2712, allocations: 290.7 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.2714, allocations: 284.5 kB / 443.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.2715, allocations: 29.7 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2716, allocations: 156.5 kB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.2716, allocations: 51.58 kB / 443.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.2717, allocations: 61.69 kB / 444 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2719, allocations: 342.8 kB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.272, allocations: 99.94 kB / 444.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2723, allocations: 180.5 kB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.2726, allocations: 210 kB / 444.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2726, allocations: 0 / 444.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004571/0.2731, allocations: 305.4 kB / 445.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2731, allocations: 4 kB / 445.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.2731, allocations: 7.984 kB / 445.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2731, allocations: 4 kB / 445.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2734, allocations: 51.91 kB / 445.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2734, allocations: 0 / 445.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2735, allocations: 31.72 kB / 445.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.2735, allocations: 15.98 kB / 445.2 MB, free: 9.879 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.0001393/0.2736, allocations: 141.9 kB / 445.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.2737, allocations: 27.8 kB / 445.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.2738, allocations: 33.91 kB / 445.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2738, allocations: 0 / 445.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2738, allocations: 4 kB / 445.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2738, allocations: 3.938 kB / 445.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.274, allocations: 244.5 kB / 445.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.274, allocations: 0 / 445.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.2742, allocations: 27.98 kB / 445.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2742, allocations: 0 / 445.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.2742, allocations: 8 kB / 445.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2742, allocations: 4 kB / 445.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2742, allocations: 0 / 445.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.2747, allocations: 335.1 kB / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.2747, allocations: 23.81 kB / 446 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2748, allocations: 16.05 kB / 446 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2749, allocations: 4 kB / 446 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2749, allocations: 15.91 kB / 446 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2749, allocations: 8 kB / 446.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2751, allocations: 191.1 kB / 446.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2751, allocations: 96 / 446.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000316/0.2754, allocations: 83.8 kB / 446.3 MB, free: 8.664 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.0002054/0.2756, allocations: 143 kB / 446.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.2761, allocations: 269 kB / 446.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2761, allocations: 3.938 kB / 446.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2762, allocations: 58.97 kB / 446.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2766, allocations: 74.41 kB / 446.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.2776, allocations: 0.5556 MB / 447.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.278, allocations: 0.7751 MB / 448.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2781, allocations: 50.02 kB / 448.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.2781, allocations: 23.44 kB / 448.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2781, allocations: 0 / 448.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of Templates: time 0.007708/0.2858, allocations: 3.858 MB / 452.1 MB, free: 2.812 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 -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/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-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.556794201955199]