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.001339/0.001339, allocations: 115.9 kB / 20.43 MB, free: 1.297 MB / 14.72 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.001326/0.001326, allocations: 186.1 kB / 23.72 MB, free: 4.539 MB / 14.72 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 1.476/1.476, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 43.92 kB / 370.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 52.18 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003087/0.2507, allocations: 1.853 MB / 424.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.2569, allocations: 3.542 MB / 428 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.257, allocations: 11.88 kB / 428 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.2575, allocations: 139.3 kB / 428.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.2576, allocations: 27.72 kB / 428.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.2619, allocations: 1.775 MB / 430 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.2624, allocations: 307.2 kB / 430.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2625, allocations: 28.91 kB / 430.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.2627, allocations: 119.5 kB / 430.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2628, allocations: 111.4 kB / 430.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2629, allocations: 12 kB / 430.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.2632, allocations: 175.7 kB / 430.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2633, allocations: 67.75 kB / 430.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2634, allocations: 103.3 kB / 430.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.2639, allocations: 350.1 kB / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2639, allocations: 0 / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2639, allocations: 0 / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2639, allocations: 0 / 431.2 MB, free: 6.035 MB / 334.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.0008462/0.2648, allocations: 0.524 MB / 431.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2648, allocations: 8.031 kB / 431.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.2649, allocations: 46.73 kB / 431.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.2649, allocations: 32.75 kB / 431.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.2654, allocations: 214.2 kB / 432 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2654, allocations: 15.94 kB / 432 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.2654, allocations: 12 kB / 432 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.2658, allocations: 213.1 kB / 432.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2658, allocations: 0 / 432.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.2658, allocations: 7.938 kB / 432.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2658, allocations: 4 kB / 432.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.266, allocations: 83.94 kB / 432.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.2668, allocations: 459.5 kB / 432.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2672, allocations: 170.4 kB / 433 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2673, allocations: 60.83 kB / 433 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2673, allocations: 4.094 kB / 433 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2673, allocations: 38.5 kB / 433.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.2673, allocations: 0 / 433.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004866/0.2678, allocations: 224.7 kB / 433.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.268, allocations: 286.7 kB / 433.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.2683, allocations: 292.5 kB / 433.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2683, allocations: 29.7 kB / 433.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2685, allocations: 152.5 kB / 434 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.2685, allocations: 55.48 kB / 434.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.2686, allocations: 65.62 kB / 434.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2688, allocations: 342.8 kB / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.2689, allocations: 95.94 kB / 434.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.2692, allocations: 176.5 kB / 434.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.2696, allocations: 214 kB / 435 MB, free: 1.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.2696, allocations: 4 kB / 435 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005102/0.2701, allocations: 309.3 kB / 435.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2701, allocations: 8 kB / 435.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.2701, allocations: 4 kB / 435.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2702, allocations: 3.938 kB / 435.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2704, allocations: 47.97 kB / 435.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2704, allocations: 3.984 kB / 435.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2705, allocations: 19.89 kB / 435.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2706, allocations: 4 kB / 435.4 MB, free: 1.582 MB / 334.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.0001641/0.2707, allocations: 149.8 kB / 435.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2708, allocations: 35.8 kB / 435.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.2708, allocations: 29.86 kB / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2709, allocations: 0 / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2709, allocations: 0 / 435.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.2709, allocations: 7.984 kB / 435.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.2712, allocations: 240.5 kB / 435.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2712, allocations: 96 / 435.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2714, allocations: 35.86 kB / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2714, allocations: 112 / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2714, allocations: 15.86 kB / 435.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2714, allocations: 4 kB / 435.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2714, allocations: 0 / 435.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.2719, allocations: 327.3 kB / 436.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2719, allocations: 23.81 kB / 436.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.272, allocations: 12 kB / 436.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2721, allocations: 15.97 kB / 436.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.2721, allocations: 7.984 kB / 436.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.2721, allocations: 8 kB / 436.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.2723, allocations: 199.1 kB / 436.4 MB, free: 432 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2723, allocations: 3.938 kB / 436.4 MB, free: 428 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.2727, allocations: 71.88 kB / 436.5 MB, free: 356 kB / 334.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.0009591/0.2737, allocations: 0.9112 MB / 437.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.2741, allocations: 272.2 kB / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2741, allocations: 0 / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2743, allocations: 63.89 kB / 437.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.2747, allocations: 72.23 kB / 437.8 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.2784, allocations: 2.797 MB / 440.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.2789, allocations: 0.7675 MB / 441.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.279, allocations: 45.91 kB / 441.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2791, allocations: 83.41 kB / 441.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2791, allocations: 0 / 441.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.3216, allocations: 6.761 MB / 448.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.67, allocations: 4.141 kB / 448.3 MB, free: 4.594 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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.00079952 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter_fac5.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.265316257999075]