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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.47 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09083, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00291/0.09377, allocations: 1.838 MB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.0991, allocations: 3.548 MB / 363 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.09933, allocations: 7.938 kB / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.09982, allocations: 127.4 kB / 363.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.09997, allocations: 39.64 kB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.1043, allocations: 1.778 MB / 364.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.1048, allocations: 303.2 kB / 365.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1049, allocations: 40.66 kB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1052, allocations: 119.5 kB / 365.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1054, allocations: 103.4 kB / 365.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.1054, allocations: 12 kB / 365.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1057, allocations: 143.7 kB / 365.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.1058, allocations: 67.75 kB / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.106, allocations: 103.3 kB / 365.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.1064, allocations: 326.9 kB / 366.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1065, allocations: 4 kB / 366.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1065, allocations: 0 / 366.1 MB, free: 5.473 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1065, allocations: 4 kB / 366.1 MB, free: 5.469 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.0009318/0.1074, allocations: 0.5762 MB / 366.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1075, allocations: 16.02 kB / 366.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.1076, allocations: 38.75 kB / 366.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.1076, allocations: 32.59 kB / 366.8 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.1081, allocations: 280.2 kB / 367 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1081, allocations: 12.31 kB / 367.1 MB, free: 4.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.1082, allocations: 23.91 kB / 367.1 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.1086, allocations: 202.1 kB / 367.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.1086, allocations: 8 kB / 367.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1086, allocations: 0 / 367.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1086, allocations: 4 kB / 367.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.1089, allocations: 91.86 kB / 367.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1099, allocations: 496.5 kB / 367.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.1102, allocations: 170.4 kB / 368 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1103, allocations: 56.83 kB / 368.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1104, allocations: 3.984 kB / 368.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1104, allocations: 38.5 kB / 368.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.1104, allocations: 0 / 368.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005055/0.1109, allocations: 224.9 kB / 368.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.1111, allocations: 286.7 kB / 368.6 MB, free: 2.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1113, allocations: 280.5 kB / 368.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.1114, allocations: 33.7 kB / 368.9 MB, free: 2.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1115, allocations: 160.4 kB / 369.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1116, allocations: 51.27 kB / 369.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.1116, allocations: 57.7 kB / 369.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1118, allocations: 338.8 kB / 369.5 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.112, allocations: 99.94 kB / 369.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1122, allocations: 181.5 kB / 369.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1125, allocations: 209.5 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1125, allocations: 0 / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005114/0.1131, allocations: 301.3 kB / 370.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1131, allocations: 4 kB / 370.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.1131, allocations: 7.984 kB / 370.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1131, allocations: 0 / 370.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.1134, allocations: 47.91 kB / 370.4 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1135, allocations: 7.938 kB / 370.4 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1136, allocations: 31.67 kB / 370.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.1136, allocations: 15.98 kB / 370.4 MB, free: 0.8125 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.0001411/0.1138, allocations: 149.7 kB / 370.6 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1138, allocations: 23.72 kB / 370.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.1139, allocations: 25.97 kB / 370.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1139, allocations: 4 kB / 370.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1139, allocations: 3.938 kB / 370.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1139, allocations: 0 / 370.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1142, allocations: 269.4 kB / 370.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1142, allocations: 0 / 370.9 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.1144, allocations: 31.98 kB / 370.9 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1144, allocations: 112 / 370.9 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1145, allocations: 11.94 kB / 370.9 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1145, allocations: 0 / 370.9 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1145, allocations: 3.938 kB / 370.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1369/0.2514, allocations: 336.5 kB / 371.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.2515, allocations: 95.95 kB / 371.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.2515, allocations: 9.125 kB / 371.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2517, allocations: 11.33 kB / 371.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.2517, allocations: 9.75 kB / 371.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2518, allocations: 10.7 kB / 371.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.2519, allocations: 196.5 kB / 371.6 MB, free: 20.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2519, allocations: 2.219 kB / 371.6 MB, free: 20.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.2524, allocations: 74.34 kB / 371.7 MB, free: 20.69 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.0007188/0.2531, allocations: 0.9017 MB / 372.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.2535, allocations: 302.9 kB / 372.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2535, allocations: 0 / 372.8 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2537, allocations: 61.88 kB / 372.9 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2542, allocations: 67.48 kB / 373 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.2572, allocations: 2.792 MB / 375.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2575, allocations: 0.7734 MB / 376.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.2577, allocations: 46.33 kB / 376.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2578, allocations: 84.38 kB / 376.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2578, allocations: 0 / 376.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.2825, allocations: 6.461 MB / 383.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.734, allocations: 5.172 kB / 383.1 MB, free: 16.62 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/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