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.0009405/0.0009405, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0008871/0.0008871, allocations: 134.7 kB / 25.59 MB, free: 8.906 MB / 18.57 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 0.9049/0.9049, allocations: 173.4 MB / 202.3 MB, free: 7.898 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.243e-05, allocations: 2.312 kB / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001915/0.001928, allocations: 1.805 MB / 271 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.005981, allocations: 3.313 MB / 274.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.006107, allocations: 15.81 kB / 274.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.006446, allocations: 143.2 kB / 274.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.006517, allocations: 39.7 kB / 274.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.009487, allocations: 1.875 MB / 276.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.009815, allocations: 311.1 kB / 276.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.009914, allocations: 16.94 kB / 276.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.01006, allocations: 155.6 kB / 276.8 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.01015, allocations: 83.72 kB / 276.9 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.01018, allocations: 12 kB / 276.9 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.01038, allocations: 175.6 kB / 277.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.01046, allocations: 79.69 kB / 277.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.01051, allocations: 55.78 kB / 277.2 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.01079, allocations: 310.9 kB / 277.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01079, allocations: 0 / 277.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01079, allocations: 0 / 277.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.01079, allocations: 0 / 277.5 MB, free: 1.391 MB / 250.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.0005288/0.01132, allocations: 0.6161 MB / 278.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.01135, allocations: 8.031 kB / 278.2 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.0114, allocations: 40.75 kB / 278.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.01162, allocations: 224.6 kB / 278.4 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.01163, allocations: 12.31 kB / 278.4 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.01166, allocations: 24 kB / 278.5 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.01191, allocations: 426.4 kB / 278.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.01192, allocations: 0 / 278.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.01193, allocations: 16 kB / 278.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01194, allocations: 7.984 kB / 278.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.01199, allocations: 27.91 kB / 278.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.01241, allocations: 400.1 kB / 279.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.01252, allocations: 83.02 kB / 279.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.01256, allocations: 27.72 kB / 279.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.01257, allocations: 112 / 279.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.01259, allocations: 49.31 kB / 279.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 6.81e-07/0.01259, allocations: 4 kB / 279.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001977/0.01279, allocations: 125.2 kB / 279.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.01287, allocations: 286.7 kB / 279.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01303, allocations: 326.1 kB / 280.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01305, allocations: 25.7 kB / 280.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01313, allocations: 211.1 kB / 280.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.01316, allocations: 51.53 kB / 280.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.01322, allocations: 79.3 kB / 280.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01333, allocations: 0.5117 MB / 281.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.01337, allocations: 23.98 kB / 281.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01352, allocations: 372.1 kB / 281.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.01361, allocations: 88.94 kB / 281.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01362, allocations: 4 kB / 281.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002176/0.01383, allocations: 167.4 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01385, allocations: 8 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.01387, allocations: 3.984 kB / 281.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.01388, allocations: 4 kB / 281.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.01402, allocations: 43.97 kB / 281.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.01402, allocations: 0 / 281.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.01407, allocations: 27.78 kB / 281.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01408, allocations: 4 kB / 281.8 MB, free: 12.68 MB / 266.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 8.705e-05/0.01417, allocations: 184.4 kB / 282 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.0142, allocations: 23.86 kB / 282 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.01424, allocations: 29.91 kB / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01424, allocations: 0 / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01424, allocations: 0 / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.01424, allocations: 0 / 282 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.01439, allocations: 169 kB / 282.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01439, allocations: 0 / 282.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.01447, allocations: 27.92 kB / 282.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.01448, allocations: 4 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01449, allocations: 4 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01449, allocations: 3.984 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01449, allocations: 0 / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.01469, allocations: 291.7 kB / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01472, allocations: 39.67 kB / 282.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01474, allocations: 0 / 282.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.01479, allocations: 16 kB / 282.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.01482, allocations: 7.984 kB / 282.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.01482, allocations: 4 kB / 282.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.01491, allocations: 207 kB / 282.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01491, allocations: 4 kB / 282.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002146/0.01512, allocations: 75.86 kB / 282.9 MB, free: 11.56 MB / 266.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.0001669/0.01529, allocations: 147.1 kB / 283 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01546, allocations: 172.7 kB / 283.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01547, allocations: 0 / 283.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01551, allocations: 51.58 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01579, allocations: 73.94 kB / 283.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.01637, allocations: 0.4909 MB / 283.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.01644, allocations: 92.3 kB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.0165, allocations: 21.94 kB / 283.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.01666, allocations: 158.1 kB / 284.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01666, allocations: 0 / 284.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Templates: time 0.006853/0.02351, allocations: 4.384 MB / 288.4 MB, free: 5.977 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8085904670879245]