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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 90.72 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003614, allocations: 12 kB / 301.5 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 50.4 MB / 351.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002844/0.1292, allocations: 1.537 MB / 353.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008844/0.1381, allocations: 3.824 MB / 357.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.1387, allocations: 7.938 kB / 357.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.1394, allocations: 107.5 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1397, allocations: 35.72 kB / 357.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00564/0.1453, allocations: 1.391 MB / 358.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.1461, allocations: 283.1 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1463, allocations: 40.66 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.1466, allocations: 99.5 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1469, allocations: 95.42 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1469, allocations: 8 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1473, allocations: 139.7 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1475, allocations: 63.81 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1477, allocations: 121 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1481, allocations: 319 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1481, allocations: 0 / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1481, allocations: 0 / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1482, allocations: 0 / 360 MB, free: 11.32 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.001058/0.1492, allocations: 0.5374 MB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.1493, allocations: 12.81 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.1494, allocations: 46.73 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.1495, allocations: 32.56 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.15, allocations: 291.8 kB / 360.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.15, allocations: 8 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.1501, allocations: 16 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.1505, allocations: 202.1 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1505, allocations: 0 / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1506, allocations: 8 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1506, allocations: 3.938 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.1509, allocations: 95.94 kB / 361.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.152, allocations: 492.3 kB / 361.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.1523, allocations: 174.5 kB / 361.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1525, allocations: 60.83 kB / 361.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1525, allocations: 0 / 361.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.1526, allocations: 38.56 kB / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.1526, allocations: 0 / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005767/0.1532, allocations: 232.8 kB / 362.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002328/0.1534, allocations: 286.7 kB / 362.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1538, allocations: 280.6 kB / 362.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.1538, allocations: 33.64 kB / 362.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.154, allocations: 156.4 kB / 362.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.1541, allocations: 47.34 kB / 363 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.1541, allocations: 37.7 kB / 363 MB, free: 7.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1544, allocations: 342.8 kB / 363.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1546, allocations: 100 kB / 363.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.1549, allocations: 185 kB / 363.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.1553, allocations: 217.2 kB / 363.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1553, allocations: 0 / 363.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005593/0.1559, allocations: 309.4 kB / 364.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1559, allocations: 4 kB / 364.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.1559, allocations: 7.984 kB / 364.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.156, allocations: 7.938 kB / 364.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1563, allocations: 47.97 kB / 364.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1563, allocations: 0 / 364.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1564, allocations: 31.67 kB / 364.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.1565, allocations: 12 kB / 364.2 MB, free: 6.695 MB / 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.0002045/0.1567, allocations: 141.9 kB / 364.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.1568, allocations: 31.66 kB / 364.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/0.1569, allocations: 29.97 kB / 364.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1569, allocations: 7.938 kB / 364.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1569, allocations: 0 / 364.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1569, allocations: 4 kB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1573, allocations: 269.5 kB / 364.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1573, allocations: 0 / 364.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1575, allocations: 31.92 kB / 364.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1575, allocations: 0 / 364.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1576, allocations: 4 kB / 364.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1576, allocations: 3.938 kB / 364.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1576, allocations: 4 kB / 364.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.1582, allocations: 339 kB / 365.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.1583, allocations: 104.7 kB / 365.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1583, allocations: 8.062 kB / 365.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1585, allocations: 15.92 kB / 365.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.1586, allocations: 15.92 kB / 365.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1586, allocations: 4 kB / 365.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.1589, allocations: 195.1 kB / 365.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 365.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.1594, allocations: 75.98 kB / 365.5 MB, free: 5.34 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.001625/0.161, allocations: 0.9227 MB / 366.4 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007351/0.1618, allocations: 285 kB / 366.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1618, allocations: 0 / 366.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1619, allocations: 67.34 kB / 366.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.1626, allocations: 72.53 kB / 366.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.1685, allocations: 2.871 MB / 369.7 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.1694, allocations: 0.7714 MB / 370.5 MB, free: 208 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.1697, allocations: 46.16 kB / 370.5 MB, free: 160 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1698, allocations: 83.41 kB / 370.6 MB, free: 76 kB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.1699, allocations: 0 / 370.6 MB, free: 76 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2479/0.4178, allocations: 6.104 MB / 376.7 MB, free: 23.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.418, allocations: 199.1 kB / 376.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.497, allocations: 3.828 kB / 376.9 MB, free: 23.38 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches