Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008832/0.0008832, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.001228/0.001228, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9041/0.9041, allocations: 158.6 MB / 187.2 MB, free: 3.059 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.758e-05, allocations: 2.281 kB / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002261/0.002289, allocations: 1.756 MB / 301.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.006386, allocations: 3.318 MB / 304.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.006524, allocations: 11.81 kB / 304.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.006916, allocations: 139.3 kB / 304.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.006998, allocations: 39.64 kB / 304.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.01047, allocations: 1.858 MB / 306.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.01081, allocations: 319 kB / 307.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.01093, allocations: 28.91 kB / 307.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.01109, allocations: 147.7 kB / 307.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.01119, allocations: 83.7 kB / 307.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.01122, allocations: 12 kB / 307.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.01151, allocations: 171.6 kB / 307.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.01163, allocations: 71.69 kB / 307.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.01169, allocations: 59.83 kB / 307.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.01215, allocations: 358.9 kB / 308 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01215, allocations: 0 / 308 MB, free: 14.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01216, allocations: 0 / 308 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.01216, allocations: 8 kB / 308 MB, free: 14.55 MB / 298.7 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.000643/0.0128, allocations: 0.5045 MB / 308.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.01286, allocations: 19.97 kB / 308.6 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.01293, allocations: 32.75 kB / 308.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.01331, allocations: 221.8 kB / 308.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.01333, allocations: 8.562 kB / 308.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.01337, allocations: 24.36 kB / 308.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.01374, allocations: 445.7 kB / 309.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.01375, allocations: 0 / 309.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.01377, allocations: 4 kB / 309.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01378, allocations: 0 / 309.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.01393, allocations: 87.94 kB / 309.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.01447, allocations: 412.2 kB / 309.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.01469, allocations: 170.4 kB / 309.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.01477, allocations: 60.83 kB / 310 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.01478, allocations: 4 kB / 310 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.01481, allocations: 34.56 kB / 310 MB, free: 12.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.01481, allocations: 0 / 310 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00033/0.01514, allocations: 225.4 kB / 310.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.01526, allocations: 286.7 kB / 310.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.01548, allocations: 284.5 kB / 310.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01551, allocations: 33.7 kB / 310.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01561, allocations: 156.5 kB / 311 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.01565, allocations: 47.59 kB / 311 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.01573, allocations: 69.61 kB / 311.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01585, allocations: 342.8 kB / 311.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01598, allocations: 99.94 kB / 311.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.01621, allocations: 403.8 kB / 311.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.01644, allocations: 217.5 kB / 312.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01644, allocations: 112 / 312.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003442/0.01679, allocations: 313.2 kB / 312.4 MB, free: 9.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.0168, allocations: 4 kB / 312.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.01682, allocations: 4 kB / 312.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01684, allocations: 0 / 312.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.017, allocations: 55.89 kB / 312.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.017, allocations: 0 / 312.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.01707, allocations: 27.78 kB / 312.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01709, allocations: 8 kB / 312.5 MB, free: 9.633 MB / 298.7 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.000117/0.01721, allocations: 149.8 kB / 312.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.01724, allocations: 31.81 kB / 312.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.01728, allocations: 25.92 kB / 312.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01728, allocations: 3.984 kB / 312.7 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01729, allocations: 0 / 312.7 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01729, allocations: 4 kB / 312.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.01746, allocations: 201.1 kB / 313 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01746, allocations: 0 / 313 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01757, allocations: 23.98 kB / 313 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01757, allocations: 0 / 313 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01758, allocations: 4 kB / 313 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01758, allocations: 4 kB / 313 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01759, allocations: 4 kB / 313 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01793, allocations: 343.1 kB / 313.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.01795, allocations: 23.8 kB / 313.3 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.01797, allocations: 4 kB / 313.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.01804, allocations: 12.05 kB / 313.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.01808, allocations: 7.984 kB / 313.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.01808, allocations: 4.125 kB / 313.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.01821, allocations: 199.1 kB / 313.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01821, allocations: 0 / 313.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01847, allocations: 79.83 kB / 313.6 MB, free: 8.477 MB / 298.7 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.0002621/0.01873, allocations: 155.1 kB / 313.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.01909, allocations: 264.9 kB / 314.1 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.01909, allocations: 8 kB / 314.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.01917, allocations: 59.91 kB / 314.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.01952, allocations: 81.09 kB / 314.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.02035, allocations: 0.5516 MB / 314.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.02046, allocations: 161.8 kB / 314.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.0205, allocations: 24.5 kB / 314.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0205, allocations: 0 / 314.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of Templates: time 0.005153/0.02566, allocations: 4.049 MB / 319 MB, free: 3.055 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.131542414426804]