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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.09 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002913/0.1197, allocations: 1.837 MB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.1252, allocations: 3.547 MB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1253, allocations: 11.88 kB / 364.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.1258, allocations: 127.4 kB / 364.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.913e-05/0.1259, allocations: 35.66 kB / 364.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.1298, allocations: 1.777 MB / 366.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1302, allocations: 311.1 kB / 366.5 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1303, allocations: 28.73 kB / 366.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.1306, allocations: 115.6 kB / 366.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1307, allocations: 111.3 kB / 366.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.1308, allocations: 12 kB / 366.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.131, allocations: 147.7 kB / 366.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1312, allocations: 67.75 kB / 367 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1313, allocations: 99.34 kB / 367.1 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.1317, allocations: 334.9 kB / 367.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1317, allocations: 0 / 367.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1317, allocations: 0 / 367.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1317, allocations: 0 / 367.4 MB, free: 4.801 MB / 302.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.0008877/0.1326, allocations: 0.5918 MB / 368 MB, free: 4.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1327, allocations: 8.031 kB / 368 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.1328, allocations: 28.66 kB / 368.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.1333, allocations: 284.2 kB / 368.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1333, allocations: 8.562 kB / 368.3 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.1333, allocations: 19.88 kB / 368.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1336, allocations: 202.1 kB / 368.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1337, allocations: 0 / 368.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.1337, allocations: 8 kB / 368.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1337, allocations: 0 / 368.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1339, allocations: 95.81 kB / 368.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.1347, allocations: 496.4 kB / 369.1 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.135, allocations: 162.4 kB / 369.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1351, allocations: 60.81 kB / 369.4 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1351, allocations: 8 kB / 369.4 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1351, allocations: 38.55 kB / 369.4 MB, free: 2.625 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1351, allocations: 3.938 kB / 369.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004519/0.1356, allocations: 220.9 kB / 369.6 MB, free: 2.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.1357, allocations: 290.7 kB / 369.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.136, allocations: 284.5 kB / 370.2 MB, free: 1.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.136, allocations: 25.7 kB / 370.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1361, allocations: 168.4 kB / 370.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.1362, allocations: 43.27 kB / 370.4 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.1363, allocations: 61.7 kB / 370.5 MB, free: 1.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1364, allocations: 342.8 kB / 370.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1366, allocations: 95.94 kB / 370.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.1368, allocations: 181.5 kB / 371.1 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1371, allocations: 209.5 kB / 371.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1371, allocations: 0 / 371.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004309/0.1376, allocations: 301.3 kB / 371.6 MB, free: 308 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1376, allocations: 4 kB / 371.6 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.1376, allocations: 7.984 kB / 371.6 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1377, allocations: 0 / 371.6 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1379, allocations: 55.91 kB / 371.6 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1379, allocations: 0 / 371.6 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1381, allocations: 35.72 kB / 371.7 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1381, allocations: 7.938 kB / 371.7 MB, free: 196 kB / 302.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.0001414/0.1382, allocations: 153.8 kB / 371.8 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.1383, allocations: 23.72 kB / 371.9 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1919/0.3302, allocations: 24.61 kB / 371.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3302, allocations: 1.156 kB / 371.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3302, allocations: 3.562 kB / 371.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3303, allocations: 4.312 kB / 371.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3306, allocations: 268.6 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3306, allocations: 0 / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3308, allocations: 24.27 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3309, allocations: 2.562 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.3309, allocations: 8.797 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3309, allocations: 0.5938 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3309, allocations: 2.75 kB / 372.2 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.3314, allocations: 336.9 kB / 372.5 MB, free: 21.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3315, allocations: 100.3 kB / 372.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.3315, allocations: 8.141 kB / 372.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3317, allocations: 14.2 kB / 372.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3317, allocations: 8.719 kB / 372.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3317, allocations: 3.406 kB / 372.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3319, allocations: 197.6 kB / 372.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3319, allocations: 2.875 kB / 372.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3323, allocations: 75.19 kB / 372.9 MB, free: 21.04 MB / 302.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.0002397/0.3325, allocations: 145.2 kB / 373.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.333, allocations: 278.3 kB / 373.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.333, allocations: 5.219 kB / 373.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3331, allocations: 65.08 kB / 373.4 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.3336, allocations: 78.62 kB / 373.5 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.3345, allocations: 0.549 MB / 374 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3347, allocations: 0.7669 MB / 374.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.3349, allocations: 47.73 kB / 374.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.3349, allocations: 25.88 kB / 374.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3349, allocations: 3.719 kB / 374.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of Templates: time 0.00792/0.3429, allocations: 3.728 MB / 378.6 MB, free: 19.57 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches