Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3345, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003084/0.3376, allocations: 1.851 MB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.3439, allocations: 3.548 MB / 426.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.3441, allocations: 7.938 kB / 426.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.3445, allocations: 131.3 kB / 426.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3446, allocations: 35.66 kB / 426.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.349, allocations: 1.691 MB / 428.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.3495, allocations: 311.1 kB / 428.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3496, allocations: 24.72 kB / 428.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3498, allocations: 111.5 kB / 428.6 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.35, allocations: 115.3 kB / 428.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.35, allocations: 12 kB / 428.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.3503, allocations: 143.7 kB / 428.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3504, allocations: 67.77 kB / 428.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3505, allocations: 107.3 kB / 429 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.351, allocations: 338.3 kB / 429.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.351, allocations: 4 kB / 429.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.351, allocations: 4 kB / 429.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.351, allocations: 0 / 429.3 MB, free: 6.621 MB / 334.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.0009566/0.352, allocations: 0.5838 MB / 429.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.352, allocations: 8.031 kB / 429.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.3521, allocations: 36.69 kB / 430 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.3526, allocations: 292.2 kB / 430.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3527, allocations: 8 kB / 430.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.3527, allocations: 20 kB / 430.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.3531, allocations: 197.3 kB / 430.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3531, allocations: 0 / 430.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3531, allocations: 8 kB / 430.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3531, allocations: 3.938 kB / 430.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.3533, allocations: 91.86 kB / 430.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.3542, allocations: 496.3 kB / 431 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3545, allocations: 166.5 kB / 431.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3546, allocations: 52.94 kB / 431.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3546, allocations: 3.938 kB / 431.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3547, allocations: 42.5 kB / 431.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.3547, allocations: 0 / 431.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005077/0.3552, allocations: 231.4 kB / 431.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.3553, allocations: 282.7 kB / 431.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.3557, allocations: 284.5 kB / 432.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3557, allocations: 33.7 kB / 432.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3558, allocations: 152.5 kB / 432.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.3559, allocations: 55.55 kB / 432.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.356, allocations: 57.69 kB / 432.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3561, allocations: 342.8 kB / 432.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3563, allocations: 99.94 kB / 432.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.3566, allocations: 181 kB / 433 MB, free: 2.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3569, allocations: 209.5 kB / 433.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3569, allocations: 4 kB / 433.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000474/0.3574, allocations: 301.4 kB / 433.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3574, allocations: 11.98 kB / 433.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3574, allocations: 0 / 433.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3574, allocations: 11.92 kB / 433.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3577, allocations: 47.91 kB / 433.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.3577, allocations: 8 kB / 433.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3578, allocations: 23.81 kB / 433.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3578, allocations: 12 kB / 433.6 MB, free: 2.008 MB / 334.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.0001487/0.358, allocations: 149.8 kB / 433.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.358, allocations: 27.81 kB / 433.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.3581, allocations: 25.97 kB / 433.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3581, allocations: 7.938 kB / 433.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3581, allocations: 0 / 433.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3581, allocations: 3.984 kB / 433.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.3584, allocations: 265.5 kB / 434.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3584, allocations: 0 / 434.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3586, allocations: 31.98 kB / 434.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3586, allocations: 0 / 434.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3586, allocations: 7.984 kB / 434.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.3586, allocations: 3.938 kB / 434.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3586, allocations: 0 / 434.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.3591, allocations: 335.1 kB / 434.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.3592, allocations: 104.9 kB / 434.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.3592, allocations: 8.062 kB / 434.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3594, allocations: 19.92 kB / 434.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3594, allocations: 7.984 kB / 434.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3594, allocations: 4.094 kB / 434.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3596, allocations: 203 kB / 434.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3596, allocations: 0 / 434.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.36, allocations: 75.88 kB / 434.9 MB, free: 0.6562 MB / 334.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.0002696/0.3602, allocations: 147.1 kB / 435 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.3607, allocations: 273.3 kB / 435.3 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3607, allocations: 0 / 435.3 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.3608, allocations: 63.91 kB / 435.3 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3614, allocations: 68.66 kB / 435.4 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3625, allocations: 0.5586 MB / 436 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.3629, allocations: 0.7712 MB / 436.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.363, allocations: 53.91 kB / 436.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.3631, allocations: 19.44 kB / 436.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3631, allocations: 0 / 436.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Templates: time 0.008665/0.3718, allocations: 3.806 MB / 440.6 MB, free: 10.86 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.751462262123823]