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.001335/0.001335, allocations: 107 kB / 16.62 MB, free: 6.816 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.001577/0.001577, allocations: 193.9 kB / 17.55 MB, free: 5.941 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.421/1.421, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 50.73 kB / 300.2 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1139, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004048/0.118, allocations: 1.873 MB / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.124, allocations: 3.55 MB / 355.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1243, allocations: 7.938 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.1247, allocations: 119.5 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.125, allocations: 31.72 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004308/0.1293, allocations: 1.606 MB / 356.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.1298, allocations: 303.2 kB / 357.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1299, allocations: 36.67 kB / 357.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1302, allocations: 111.5 kB / 357.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1304, allocations: 107.4 kB / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.1304, allocations: 12 kB / 357.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.1308, allocations: 139.7 kB / 357.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.131, allocations: 79.67 kB / 357.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1311, allocations: 99.34 kB / 357.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.1319, allocations: 331 kB / 358.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.1319, allocations: 0 / 358.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1319, allocations: 0 / 358.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.132, allocations: 0 / 358.1 MB, free: 12.26 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.001268/0.1332, allocations: 0.5801 MB / 358.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1333, allocations: 16.03 kB / 358.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.1334, allocations: 42.73 kB / 358.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.1335, allocations: 28.66 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1339, allocations: 287.9 kB / 359 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.134, allocations: 15.88 kB / 359 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.134, allocations: 19.98 kB / 359 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.1344, allocations: 198.1 kB / 359.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1344, allocations: 3.984 kB / 359.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1344, allocations: 4 kB / 359.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1344, allocations: 7.938 kB / 359.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1346, allocations: 79.94 kB / 359.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1357, allocations: 496.2 kB / 359.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.136, allocations: 166.5 kB / 360 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1361, allocations: 60.83 kB / 360 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1361, allocations: 4.094 kB / 360 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1362, allocations: 42.5 kB / 360.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1362, allocations: 0 / 360.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004879/0.1367, allocations: 220.9 kB / 360.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.1368, allocations: 290.7 kB / 360.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1372, allocations: 276.6 kB / 360.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1372, allocations: 33.8 kB / 360.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1373, allocations: 164.4 kB / 361 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1374, allocations: 47.27 kB / 361.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1375, allocations: 69.67 kB / 361.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1376, allocations: 338.8 kB / 361.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1378, allocations: 99.94 kB / 361.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.138, allocations: 181 kB / 361.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1384, allocations: 209.2 kB / 362 MB, free: 8.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1384, allocations: 4 kB / 362 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004654/0.1388, allocations: 297.5 kB / 362.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1389, allocations: 4 kB / 362.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.1389, allocations: 4 kB / 362.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1389, allocations: 7.938 kB / 362.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1392, allocations: 51.97 kB / 362.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1392, allocations: 0 / 362.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1393, allocations: 31.67 kB / 362.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1394, allocations: 8 kB / 362.4 MB, free: 7.602 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.0001442/0.1395, allocations: 149.8 kB / 362.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.1396, allocations: 23.72 kB / 362.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.1396, allocations: 29.97 kB / 362.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1397, allocations: 7.938 kB / 362.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1397, allocations: 96 / 362.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1397, allocations: 7.922 kB / 362.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.14, allocations: 265.5 kB / 362.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.14, allocations: 0 / 362.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1402, allocations: 27.92 kB / 362.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1402, allocations: 0 / 362.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1402, allocations: 11.98 kB / 362.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1402, allocations: 3.938 kB / 362.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1402, allocations: 0 / 362.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.1407, allocations: 343 kB / 363.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1408, allocations: 96.83 kB / 363.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1408, allocations: 8.062 kB / 363.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.141, allocations: 11.92 kB / 363.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.141, allocations: 11.98 kB / 363.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.141, allocations: 0 / 363.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1412, allocations: 195.1 kB / 363.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1412, allocations: 11.88 kB / 363.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.1416, allocations: 76 kB / 363.6 MB, free: 6.25 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.0009067/0.1425, allocations: 0.9072 MB / 364.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004937/0.143, allocations: 297 kB / 364.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1431, allocations: 4 kB / 364.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1432, allocations: 63.89 kB / 364.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.1437, allocations: 74.03 kB / 364.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.1474, allocations: 2.843 MB / 367.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1478, allocations: 0.7714 MB / 368.6 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.148, allocations: 45.84 kB / 368.6 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1481, allocations: 79.42 kB / 368.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1481, allocations: 0 / 368.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.212/0.3601, allocations: 6.336 MB / 375 MB, free: 25.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.3603, allocations: 191.7 kB / 375.2 MB, free: 25.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.356, allocations: 0 / 375.2 MB, free: 25.34 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