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.001954/0.001954, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002368/0.002368, allocations: 189.8 kB / 23.71 MB, free: 4.406 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.458/1.458, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.001553/0.001553, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2702, allocations: 52.19 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003048/0.2732, allocations: 1.768 MB / 424.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005569/0.2788, allocations: 3.269 MB / 427.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2789, allocations: 11.88 kB / 427.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.2794, allocations: 143.3 kB / 427.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2795, allocations: 31.72 kB / 427.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.2833, allocations: 1.776 MB / 429.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.2837, allocations: 299.2 kB / 429.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2838, allocations: 28.84 kB / 429.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.284, allocations: 123.5 kB / 430 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2842, allocations: 103.4 kB / 430.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.2842, allocations: 12 kB / 430.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2845, allocations: 171.7 kB / 430.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2846, allocations: 71.69 kB / 430.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.2847, allocations: 79.47 kB / 430.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.2852, allocations: 342.6 kB / 430.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2852, allocations: 4 kB / 430.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2852, allocations: 0 / 430.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2852, allocations: 3.938 kB / 430.8 MB, free: 6.16 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.0008423/0.286, allocations: 0.5163 MB / 431.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2861, allocations: 12.03 kB / 431.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.2861, allocations: 46.69 kB / 431.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.2862, allocations: 32.75 kB / 431.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.2866, allocations: 222.1 kB / 431.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2866, allocations: 8 kB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.2866, allocations: 20 kB / 431.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2871, allocations: 434.9 kB / 432 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2871, allocations: 0 / 432 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.2872, allocations: 11.94 kB / 432.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2872, allocations: 0 / 432.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2874, allocations: 87.94 kB / 432.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.2882, allocations: 431.5 kB / 432.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.2885, allocations: 182.2 kB / 432.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2886, allocations: 52.83 kB / 432.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.2887, allocations: 4 kB / 432.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.2887, allocations: 38.56 kB / 432.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2887, allocations: 96 / 432.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004721/0.2892, allocations: 225.5 kB / 433.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.2893, allocations: 282.7 kB / 433.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.2896, allocations: 288.5 kB / 433.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2896, allocations: 29.7 kB / 433.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2898, allocations: 152.6 kB / 433.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.2898, allocations: 55.59 kB / 433.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.2899, allocations: 77.55 kB / 433.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2901, allocations: 334.8 kB / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2902, allocations: 103.9 kB / 434.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.2906, allocations: 411.8 kB / 434.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.2909, allocations: 206 kB / 435 MB, free: 1.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2909, allocations: 0 / 435 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004705/0.2914, allocations: 305.4 kB / 435.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2914, allocations: 14.81 kB / 435.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.2914, allocations: 7.922 kB / 435.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2915, allocations: 7.938 kB / 435.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.2917, allocations: 47.97 kB / 435.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2917, allocations: 0 / 435.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2918, allocations: 19.89 kB / 435.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2919, allocations: 11.98 kB / 435.4 MB, free: 1.16 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.0001385/0.292, allocations: 149.8 kB / 435.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.2921, allocations: 27.81 kB / 435.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.2921, allocations: 33.84 kB / 435.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2921, allocations: 4 kB / 435.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2921, allocations: 0 / 435.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2921, allocations: 0 / 435.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.2924, allocations: 228.5 kB / 435.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2924, allocations: 0 / 435.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.2926, allocations: 23.98 kB / 435.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2926, allocations: 0 / 435.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.2926, allocations: 11.94 kB / 435.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2926, allocations: 0 / 435.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2926, allocations: 3.938 kB / 435.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.2931, allocations: 339.2 kB / 436.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.2931, allocations: 23.81 kB / 436.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.2931, allocations: 12 kB / 436.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2933, allocations: 11.98 kB / 436.2 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2933, allocations: 7.984 kB / 436.2 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2933, allocations: 0 / 436.2 MB, free: 232 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.2935, allocations: 195.1 kB / 436.4 MB, free: 40 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2935, allocations: 0 / 436.4 MB, free: 40 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.2939, allocations: 83.86 kB / 436.5 MB, free: 15.95 MB / 350.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.0008861/0.2948, allocations: 0.915 MB / 437.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.2952, allocations: 272.9 kB / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2952, allocations: 0 / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2953, allocations: 59.91 kB / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.2958, allocations: 81.52 kB / 437.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.2993, allocations: 2.796 MB / 440.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.2994, allocations: 161.8 kB / 440.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.2996, allocations: 41.91 kB / 440.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2997, allocations: 87.39 kB / 440.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2997, allocations: 4 kB / 440.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.3359, allocations: 7.39 MB / 448.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.79, allocations: 7.062 kB / 448.3 MB, free: 4.203 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.340320215094835]