Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001812/0.001812, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.003118/0.003118, allocations: 210.5 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.626/1.626, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.89 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3962, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003166/0.3994, allocations: 1.772 MB / 434.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006129/0.4055, allocations: 3.328 MB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.4057, allocations: 11.81 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.4062, allocations: 135.4 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.4063, allocations: 43.64 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.4105, allocations: 1.764 MB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.411, allocations: 319.1 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4112, allocations: 20.92 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.4114, allocations: 119.5 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.4116, allocations: 103.4 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.4116, allocations: 12 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.4119, allocations: 175.7 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4121, allocations: 83.67 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.4122, allocations: 75.48 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.4127, allocations: 353.7 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4127, allocations: 3.938 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4127, allocations: 0 / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4127, allocations: 3.938 kB / 440.7 MB, free: 14.22 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.0008939/0.4136, allocations: 0.5086 MB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4136, allocations: 11.98 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.4137, allocations: 32.75 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4141, allocations: 226.5 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4142, allocations: 12.55 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.4142, allocations: 23.89 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.4147, allocations: 436.8 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4147, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4148, allocations: 8 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.4148, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.415, allocations: 99.88 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.4159, allocations: 400.3 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.4163, allocations: 162.5 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.4164, allocations: 52.83 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4164, allocations: 4 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/0.4165, allocations: 42.66 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.4165, allocations: 7.938 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004729/0.4169, allocations: 217.5 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.4171, allocations: 286.7 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4174, allocations: 280.6 kB / 443.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.4175, allocations: 33.7 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4176, allocations: 152.5 kB / 443.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.4176, allocations: 59.56 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.4177, allocations: 53.7 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4179, allocations: 342.8 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4181, allocations: 103.9 kB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.4186, allocations: 416.4 kB / 444.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4189, allocations: 205.5 kB / 444.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4189, allocations: 0 / 444.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005822/0.4195, allocations: 301.4 kB / 445.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4195, allocations: 4 kB / 445.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.4196, allocations: 7.984 kB / 445.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4196, allocations: 4 kB / 445.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.4199, allocations: 51.91 kB / 445.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4199, allocations: 96 / 445.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.42, allocations: 35.7 kB / 445.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.42, allocations: 11.94 kB / 445.2 MB, free: 9.32 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.0001697/0.4202, allocations: 149.8 kB / 445.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4202, allocations: 27.81 kB / 445.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.4203, allocations: 25.91 kB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4203, allocations: 4 kB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4203, allocations: 0 / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4203, allocations: 0 / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.4206, allocations: 201.1 kB / 445.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4206, allocations: 3.984 kB / 445.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4207, allocations: 27.98 kB / 445.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4208, allocations: 0 / 445.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4208, allocations: 4 kB / 445.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4208, allocations: 0 / 445.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4208, allocations: 3.984 kB / 445.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.4213, allocations: 346.9 kB / 446 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.4213, allocations: 19.81 kB / 446 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.4214, allocations: 11.92 kB / 446 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4215, allocations: 16.19 kB / 446 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.4215, allocations: 3.984 kB / 446 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.4216, allocations: 8 kB / 446 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.4218, allocations: 199.1 kB / 446.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4218, allocations: 0 / 446.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.4222, allocations: 79.86 kB / 446.3 MB, free: 8.16 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.0002663/0.4224, allocations: 143 kB / 446.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.4229, allocations: 273.3 kB / 446.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4229, allocations: 4 kB / 446.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.423, allocations: 59.95 kB / 446.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.4235, allocations: 77.58 kB / 446.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4247, allocations: 0.5924 MB / 447.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.4249, allocations: 165.8 kB / 447.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.4249, allocations: 19.44 kB / 447.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4249, allocations: 0 / 447.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Templates: time 0.007347/0.4323, allocations: 3.985 MB / 451.6 MB, free: 2.777 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.121880287770182]