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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB 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.001883/0.001883, allocations: 63.84 kB / 368.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2613, allocations: 53.33 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003221/0.2645, allocations: 1.838 MB / 424.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.2706, allocations: 3.577 MB / 427.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2707, allocations: 11.88 kB / 427.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.2712, allocations: 135.3 kB / 427.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.2713, allocations: 31.72 kB / 427.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.275, allocations: 1.701 MB / 429.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.2755, allocations: 307.2 kB / 429.9 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2756, allocations: 20.75 kB / 429.9 MB, free: 240 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.2758, allocations: 115.5 kB / 430 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.276, allocations: 111.4 kB / 430.1 MB, free: 12 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.276, allocations: 12 kB / 430.1 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.2763, allocations: 151.7 kB / 430.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2765, allocations: 71.69 kB / 430.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2766, allocations: 107.3 kB / 430.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.2771, allocations: 346.5 kB / 430.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2771, allocations: 0 / 430.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2771, allocations: 0 / 430.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2771, allocations: 0 / 430.8 MB, free: 15.34 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.0009741/0.2781, allocations: 0.5838 MB / 431.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2781, allocations: 16.03 kB / 431.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.2782, allocations: 28.75 kB / 431.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.2786, allocations: 292.3 kB / 431.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2786, allocations: 8.562 kB / 431.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.2787, allocations: 27.88 kB / 431.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.279, allocations: 195.3 kB / 431.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.279, allocations: 4 kB / 431.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.279, allocations: 4 kB / 431.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2791, allocations: 7.984 kB / 431.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.2793, allocations: 87.88 kB / 432 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008363/0.2801, allocations: 496.6 kB / 432.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.2804, allocations: 158.5 kB / 432.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2805, allocations: 60.86 kB / 432.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.2805, allocations: 0 / 432.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.2806, allocations: 42.56 kB / 432.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.2806, allocations: 0 / 432.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004848/0.281, allocations: 213.5 kB / 433 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.2812, allocations: 286.7 kB / 433.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.2815, allocations: 288.5 kB / 433.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2816, allocations: 29.7 kB / 433.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2817, allocations: 160.5 kB / 433.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.2817, allocations: 51.58 kB / 433.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.2818, allocations: 69.64 kB / 433.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.282, allocations: 338.8 kB / 434.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2822, allocations: 100 kB / 434.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2824, allocations: 184.4 kB / 434.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.2828, allocations: 205.2 kB / 434.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2828, allocations: 0 / 434.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004894/0.2833, allocations: 305.6 kB / 434.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2833, allocations: 4 kB / 434.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.2833, allocations: 11.98 kB / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2833, allocations: 0 / 434.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.2836, allocations: 47.97 kB / 435 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2836, allocations: 4 kB / 435 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2837, allocations: 39.7 kB / 435 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.2838, allocations: 4 kB / 435 MB, free: 10.73 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.0001871/0.284, allocations: 153.8 kB / 435.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.284, allocations: 23.86 kB / 435.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.2841, allocations: 25.97 kB / 435.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2841, allocations: 4 kB / 435.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2841, allocations: 0 / 435.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2841, allocations: 3.938 kB / 435.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.2844, allocations: 273.5 kB / 435.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2844, allocations: 0 / 435.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2846, allocations: 27.92 kB / 435.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2846, allocations: 0 / 435.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2846, allocations: 8 kB / 435.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2846, allocations: 0 / 435.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2846, allocations: 3.984 kB / 435.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.2852, allocations: 339.2 kB / 435.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.2853, allocations: 100.9 kB / 436 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.2853, allocations: 8.062 kB / 436 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2855, allocations: 11.98 kB / 436 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.2855, allocations: 19.86 kB / 436 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2855, allocations: 0 / 436 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2857, allocations: 191.1 kB / 436.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2857, allocations: 0 / 436.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.2861, allocations: 83.86 kB / 436.3 MB, free: 9.379 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.0002877/0.2864, allocations: 143 kB / 436.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.2869, allocations: 279.9 kB / 436.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2869, allocations: 0 / 436.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2871, allocations: 59.91 kB / 436.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.2875, allocations: 76.83 kB / 436.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2886, allocations: 0.5626 MB / 437.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.2891, allocations: 0.7635 MB / 438.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.2893, allocations: 45.91 kB / 438.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.2893, allocations: 23.44 kB / 438.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2893, allocations: 0 / 438.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Templates: time 0.008687/0.298, allocations: 3.793 MB / 442 MB, free: 3.594 MB / 350.1 MB 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] Reference file matches