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.001513/0.001513, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00153/0.00153, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.566/1.566, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001736/0.001736, allocations: 43.94 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.401, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003813/0.4048, allocations: 1.771 MB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.4123, allocations: 3.324 MB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.4125, allocations: 19.81 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.413, allocations: 135.4 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.4132, allocations: 35.66 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.4183, allocations: 1.783 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.4188, allocations: 315.1 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/0.4232, allocations: 24.92 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.4235, allocations: 119.5 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.4237, allocations: 103.4 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.4238, allocations: 16 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.4241, allocations: 175.7 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.4243, allocations: 87.69 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.4244, allocations: 79.47 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.4249, allocations: 350.2 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4249, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4249, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4249, 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.000978/0.4259, allocations: 0.5124 MB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.426, allocations: 8.031 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.426, allocations: 36.75 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.4265, allocations: 222.6 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4265, allocations: 8.562 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.4266, allocations: 27.86 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.4271, allocations: 433.5 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4271, allocations: 0 / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4272, allocations: 4 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4272, allocations: 4 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.4274, allocations: 95.81 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.4283, allocations: 396.4 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.4287, allocations: 170.4 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.4289, allocations: 56.83 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.4289, allocations: 0 / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.4289, allocations: 42.56 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 4.047e-06/0.4289, allocations: 7.922 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005905/0.4295, allocations: 231.6 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.4297, allocations: 286.7 kB / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.43, allocations: 280.6 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.4301, allocations: 29.7 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4302, allocations: 156.5 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.4303, allocations: 47.59 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4304, allocations: 65.67 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4306, allocations: 342.8 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.4308, allocations: 95.94 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.4313, allocations: 415.8 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.4317, allocations: 210 kB / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4317, allocations: 0 / 444.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006159/0.4323, allocations: 305.4 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4323, allocations: 4 kB / 445 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.4324, allocations: 7.984 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4324, allocations: 0 / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.4327, allocations: 51.91 kB / 445.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4327, allocations: 0 / 445.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4329, allocations: 31.78 kB / 445.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.4329, allocations: 11.92 kB / 445.1 MB, free: 9.488 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.0001653/0.4331, allocations: 149.8 kB / 445.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.4331, allocations: 27.81 kB / 445.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.05e-05/0.4332, allocations: 29.91 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4332, allocations: 0 / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4332, allocations: 0 / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4332, allocations: 0 / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.4335, allocations: 197.1 kB / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4335, allocations: 0 / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.4337, allocations: 31.98 kB / 445.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4338, allocations: 0 / 445.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4338, allocations: 8.094 kB / 445.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4338, allocations: 3.938 kB / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4338, allocations: 0 / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.4344, allocations: 343.1 kB / 445.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.4344, allocations: 23.81 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4345, allocations: 4 kB / 445.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.4346, allocations: 12.05 kB / 445.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.4347, allocations: 11.98 kB / 446 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4347, allocations: 4 kB / 446 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.4349, allocations: 199.2 kB / 446.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4349, allocations: 3.938 kB / 446.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000464/0.4354, allocations: 71.88 kB / 446.2 MB, free: 8.336 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.0002708/0.4356, allocations: 149.4 kB / 446.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.4362, allocations: 268.9 kB / 446.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4362, allocations: 0 / 446.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.4364, allocations: 67.89 kB / 446.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006092/0.437, allocations: 78.06 kB / 446.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4382, allocations: 0.5514 MB / 447.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.4384, allocations: 169.8 kB / 447.5 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.4386, allocations: 45.89 kB / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.4387, allocations: 23.44 kB / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4387, allocations: 0 / 447.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of Templates: time 0.01083/0.4495, allocations: 4.229 MB / 451.8 MB, free: 2.766 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 cvode -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: 5.9524590149958385]