Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 55.86 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2689, allocations: 49.16 MB / 396.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002549/0.2714, allocations: 1.826 MB / 398.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.277, allocations: 3.608 MB / 401.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.2772, allocations: 11.59 kB / 401.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.2778, allocations: 131.7 kB / 401.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2779, allocations: 36.75 kB / 401.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.2832, allocations: 1.769 MB / 403.7 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2836, allocations: 310.6 kB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2838, allocations: 20.36 kB / 404 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.2839, allocations: 119.7 kB / 404.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2841, allocations: 105.8 kB / 404.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2841, allocations: 16.56 kB / 404.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2845, allocations: 180.2 kB / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2846, allocations: 78.03 kB / 404.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.667e-05/0.2847, allocations: 99.66 kB / 404.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.2852, allocations: 348.8 kB / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2852, allocations: 1.344 kB / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2852, allocations: 0 / 405 MB, free: 4.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2852, allocations: 0 / 405 MB, free: 4.422 MB / 318.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.0008227/0.286, allocations: 0.5132 MB / 405.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2861, allocations: 12.64 kB / 405.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.2861, allocations: 43.12 kB / 405.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.2862, allocations: 35.44 kB / 405.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2866, allocations: 234.3 kB / 405.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2866, allocations: 13.75 kB / 405.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.2866, allocations: 18.25 kB / 405.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.287, allocations: 198.8 kB / 406 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.287, allocations: 1.625 kB / 406 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.287, allocations: 5.625 kB / 406 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.287, allocations: 2.328 kB / 406 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.2872, allocations: 94.27 kB / 406.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.288, allocations: 461.9 kB / 406.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.2883, allocations: 158.6 kB / 406.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2884, allocations: 65.08 kB / 406.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2884, allocations: 1.375 kB / 406.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2884, allocations: 39.97 kB / 406.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2884, allocations: 1.375 kB / 406.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004467/0.2889, allocations: 214.6 kB / 407 MB, free: 2.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.2889, allocations: 290.9 kB / 407.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.2892, allocations: 287 kB / 407.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2892, allocations: 32.45 kB / 407.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.2893, allocations: 155.1 kB / 407.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.2893, allocations: 53.48 kB / 407.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.2894, allocations: 63.58 kB / 407.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2895, allocations: 339.3 kB / 408.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2897, allocations: 105 kB / 408.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2899, allocations: 177.8 kB / 408.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.2902, allocations: 209.4 kB / 408.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2902, allocations: 0 / 408.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004511/0.2906, allocations: 305.3 kB / 409 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2906, allocations: 6.375 kB / 409 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.2906, allocations: 13.08 kB / 409 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2907, allocations: 1.719 kB / 409 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2909, allocations: 50.19 kB / 409.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2909, allocations: 5.844 kB / 409.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.291, allocations: 24.02 kB / 409.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2911, allocations: 7.547 kB / 409.1 MB, free: 1.551 MB / 318.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.0001056/0.2912, allocations: 150.4 kB / 409.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.2912, allocations: 27.03 kB / 409.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.2913, allocations: 32.89 kB / 409.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2913, allocations: 5.219 kB / 409.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2913, allocations: 4.547 kB / 409.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2913, allocations: 0.5625 kB / 409.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2915, allocations: 240.8 kB / 409.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2915, allocations: 0 / 409.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2917, allocations: 28.25 kB / 409.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2917, allocations: 0 / 409.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.2917, allocations: 8.516 kB / 409.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2917, allocations: 0 / 409.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2917, allocations: 5.922 kB / 409.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.2921, allocations: 336.2 kB / 409.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.2921, allocations: 20.28 kB / 410 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2922, allocations: 12.2 kB / 410 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2923, allocations: 4 kB / 410 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.2924, allocations: 15.73 kB / 410 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2924, allocations: 6.391 kB / 410 MB, free: 0.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.2925, allocations: 196 kB / 410.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2925, allocations: 0 / 410.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.2929, allocations: 86.25 kB / 410.3 MB, free: 0.7617 MB / 318.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.0007358/0.2936, allocations: 0.9037 MB / 411.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2941, allocations: 275.4 kB / 411.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2941, allocations: 0 / 411.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2942, allocations: 64.38 kB / 411.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.2947, allocations: 74.78 kB / 411.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.2983, allocations: 2.805 MB / 414.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2987, allocations: 0.7661 MB / 415.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.2988, allocations: 38.53 kB / 415.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.2989, allocations: 81.69 kB / 415.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2989, allocations: 0 / 415.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.3348, allocations: 6.765 MB / 422 MB, free: 9.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 7.859 kB / 422 MB, free: 9.203 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.270020707001095]